forked from extern/egroupware
Fixed errors with non-defined "tree" element in xajax responses in felamimail
This commit is contained in:
parent
feaab09818
commit
de5c558015
@ -39,6 +39,21 @@ else if (document.layers)
|
||||
is_ns4 = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the top window which contains the current egw_instance, even for popup windows
|
||||
*/
|
||||
function egw_topWindow()
|
||||
{
|
||||
if (window.opener)
|
||||
{
|
||||
return window.opener.top;
|
||||
}
|
||||
else
|
||||
{
|
||||
return window.top;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the window object of the current application
|
||||
* @param string _app is the name of the application which requests the window object
|
||||
|
Loading…
Reference in New Issue
Block a user