From 564f958fbbb93e740246fe807ca3d1d6584b9164 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 10 Mar 2015 10:28:56 +0000 Subject: [PATCH] Make sure there is a property before triger to delete it, because IE complains about an undefiend object --- etemplate/js/et2_widget_link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_link.js b/etemplate/js/et2_widget_link.js index cc2512e204..01e7bc393f 100644 --- a/etemplate/js/et2_widget_link.js +++ b/etemplate/js/et2_widget_link.js @@ -746,7 +746,7 @@ var et2_link_entry = et2_inputWidget.extend( else { _attrs["select_options"] = this.egw().link_app_list('query'); - delete _attrs["select_options"]["addressbook-email"]; + if (typeof _attrs["select_options"]["addressbook-email"] != 'undefined') delete _attrs["select_options"]["addressbook-email"]; } // Check whether the options entry was found, if not read it from the