top.egw is a function not an object

This commit is contained in:
Ralf Becker 2014-05-13 08:48:27 +00:00
parent 24d3ae08c7
commit 19fc7acb7f

View File

@ -119,7 +119,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
{
var popup = false;
try {
if (_wnd.opener && typeof _wnd.opener.top.egw == 'object')
if (_wnd.opener && typeof _wnd.opener.top.egw == 'function')
{
popup = true;
}