mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-12 19:14:10 +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
f9e573f5cc
commit
2ceddce771
@ -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