fix for community.egroupware.org bug #3027: Open item in element list no longer working

This commit is contained in:
Ralf Becker 2011-08-26 07:31:18 +00:00
parent 890efd006b
commit d295c17e90
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ if (window.opener && typeof window.opener.egw == 'object')
{
egw = window.opener.egw;
}
else if (window.top == 'object' && window.top.egw == 'object')
else if (window.top && typeof window.top.egw == 'object')
{
egw = window.top.egw;
}

View File

@ -265,7 +265,7 @@ function egw_refresh(_msg, _app, _id, _type, _targetapp, _replace, _with)
*/
function egw_open(id, app, type, extra, target)
{
window.egw.open();
window.egw.open(id, app, type, extra, target);
}
window.egw_getFramework = function()