mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:16 +01:00
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