mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 16:35:02 +02:00
Fixed problem with generation of numerical indices in _egw_json_getFormValue, using the new global parameter of egw_json_response.redirect in json.php
This commit is contained in:
@ -44,14 +44,17 @@ else if (document.layers)
|
||||
*/
|
||||
function egw_topWindow()
|
||||
{
|
||||
if (window.opener)
|
||||
if (typeof window.parent != "undefined" && typeof window.parent.top != "undefined")
|
||||
{
|
||||
return window.parent.top;
|
||||
}
|
||||
|
||||
if (typeof window.opener != "undefined" && typeof window.opener.top != "undefined")
|
||||
{
|
||||
return window.opener.top;
|
||||
}
|
||||
else
|
||||
{
|
||||
return window.top;
|
||||
}
|
||||
|
||||
return window.top;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user