mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 12:00:09 +01:00
Stop popups from re-initializing sidebox. Fixes favorites causing whole application to reload after saving a popup.
This commit is contained in:
parent
f5010b880b
commit
9a8182480f
@ -92,7 +92,10 @@ var AppJS = Class.extend(
|
||||
|
||||
this.egw = egw(this.appname, window);
|
||||
|
||||
// Initialize sidebox - ID set server side
|
||||
// Initialize sidebox for non-popups.
|
||||
// ID set server side
|
||||
if(window.opener == null)
|
||||
{
|
||||
var sidebox = jQuery('#favorite_sidebox_'+this.appname);
|
||||
if(sidebox.length == 0 && egw_getFramework() != null)
|
||||
{
|
||||
@ -108,6 +111,7 @@ var AppJS = Class.extend(
|
||||
{
|
||||
this._init_sidebox(sidebox);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user