forked from extern/egroupware
Don't try to delete not-existing attribute.
Hopefully solves error in IE.
This commit is contained in:
parent
dbca9f2008
commit
cd30e8bee1
@ -478,7 +478,10 @@ var et2_link_apps = et2_selectbox.extend(
|
|||||||
select_options = _attrs.application_list;
|
select_options = _attrs.application_list;
|
||||||
} else {
|
} else {
|
||||||
select_options = egw.link_app_list('query');
|
select_options = egw.link_app_list('query');
|
||||||
delete select_options['addressbook-email'];
|
if(typeof select_options['addressbook-email'] !== 'undefined')
|
||||||
|
{
|
||||||
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user