forked from extern/egroupware
Don't send settings on reload either. Avoids security errors with Ralf's iframe notes.
This commit is contained in:
parent
25384864bc
commit
f0c4c3dadd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user