Don't try to delete not-existing attribute.

Hopefully solves error in IE.
This commit is contained in:
Nathan Gray 2014-09-29 16:05:32 +00:00
parent 245391e724
commit b6c86c2df0

View File

@ -478,8 +478,11 @@ 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');
if(typeof select_options['addressbook-email'] !== 'undefined')
{
delete select_options['addressbook-email']; 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);
} }