mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix popup detection to cope with window.opener being a reference to itself --> should NOT be detected as popup
This commit is contained in:
parent
9481dab570
commit
2778b48273
@ -147,7 +147,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
{
|
||||
var popup = false;
|
||||
try {
|
||||
if (_wnd.opener && typeof _wnd.opener.top.egw == 'function')
|
||||
if (_wnd.opener && _wnd.opener != _wnd && typeof _wnd.opener.top.egw == 'function')
|
||||
{
|
||||
popup = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user