mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
Window dependant api modules do now get reinstanciated, if the window location changes
This commit is contained in:
@ -11,6 +11,16 @@
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
// Loading of the egw object, if it already is loaded in an upper window
|
||||
if (window.opener && typeof window.opener.egw !== 'undefined')
|
||||
{
|
||||
window['egw'] = window.opener.egw;
|
||||
}
|
||||
else if (window.top && typeof window.top.egw !== 'undefined')
|
||||
{
|
||||
window['egw'] = window.top.egw;
|
||||
}
|
||||
|
||||
/***********************************************\
|
||||
* INITIALIZATION *
|
||||
\***********************************************/
|
||||
|
Reference in New Issue
Block a user