mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
remove addressbook-email from app-list in link widgets
This commit is contained in:
parent
311a2efe53
commit
cf7f5fef7e
@ -474,8 +474,11 @@ var et2_link_apps = et2_selectbox.extend(
|
|||||||
// Limit to one app
|
// Limit to one app
|
||||||
if(_attrs.only_app) {
|
if(_attrs.only_app) {
|
||||||
select_options[_attrs.only_app] = this.egw().lang(_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 {
|
} 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;
|
_attrs.select_options = select_options;
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
@ -729,6 +732,7 @@ var et2_link_entry = et2_inputWidget.extend(
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
_attrs["select_options"] = this.egw().link_app_list('query');
|
_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
|
// Check whether the options entry was found, if not read it from the
|
||||||
|
Loading…
Reference in New Issue
Block a user