mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
remove addressbook-email from app-list in link widgets
This commit is contained in:
parent
3f9eae4940
commit
7d5ed49395
@ -474,8 +474,11 @@ var et2_link_apps = et2_selectbox.extend(
|
||||
// Limit to one app
|
||||
if(_attrs.only_app) {
|
||||
select_options[_attrs.only_app] = this.egw().lang(_attrs.only_app);
|
||||
} else if (_attrs.application_list) {
|
||||
select_options = _attrs.application_list;
|
||||
} else {
|
||||
select_options = _attrs.application_list ? _attrs.application_list : egw.link_app_list('query');
|
||||
select_options = egw.link_app_list('query');
|
||||
delete select_options['addressbook-email'];
|
||||
}
|
||||
_attrs.select_options = select_options;
|
||||
this._super.apply(this, arguments);
|
||||
@ -729,6 +732,7 @@ var et2_link_entry = et2_inputWidget.extend(
|
||||
else
|
||||
{
|
||||
_attrs["select_options"] = this.egw().link_app_list('query');
|
||||
delete _attrs["select_options"]["addressbook-email"];
|
||||
}
|
||||
|
||||
// Check whether the options entry was found, if not read it from the
|
||||
|
Loading…
Reference in New Issue
Block a user