diff --git a/etemplate/js/et2_widget_portlet.js b/etemplate/js/et2_widget_portlet.js index ff6ab34dc4..98cb30df0f 100644 --- a/etemplate/js/et2_widget_portlet.js +++ b/etemplate/js/et2_widget_portlet.js @@ -270,7 +270,7 @@ var et2_portlet = et2_valueWidget.extend( this.div.addClass("loading"); // Pass updated settings, unless we're removing - var settings = value == '~remove~' ? {} : this.options.settings || {} + var settings = (typeof value == 'string') ? {} : this.options.settings || {} this.egw().jsonq("home.home_ui.ajax_set_properties",[this.id, settings, value,this.settings?this.settings.group:false], function(data) { // This section not for us