Don't send settings on reload either. Avoids security errors with Ralf's iframe notes.

This commit is contained in:
Ralf Becker 2015-01-27 17:02:37 +00:00
parent 25384864bc
commit f0c4c3dadd

View File

@ -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