forked from extern/egroupware
using egw.is_popup() which deals with situation of egw main-window having an opener (eg. bookmark)
This commit is contained in:
parent
1ccc8f9e0d
commit
ac220a6e82
@ -94,7 +94,7 @@ var AppJS = Class.extend(
|
|||||||
|
|
||||||
// Initialize sidebox for non-popups.
|
// Initialize sidebox for non-popups.
|
||||||
// ID set server side
|
// ID set server side
|
||||||
if(window.opener == null)
|
if(!this.egw.is_popup())
|
||||||
{
|
{
|
||||||
var sidebox = jQuery('#favorite_sidebox_'+this.appname);
|
var sidebox = jQuery('#favorite_sidebox_'+this.appname);
|
||||||
if(sidebox.length == 0 && egw_getFramework() != null)
|
if(sidebox.length == 0 && egw_getFramework() != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user