Always include egw.js, as determining whether the current window is a popup or not does not work properly when not running an etemplate2 application

This commit is contained in:
Andreas Stöckel 2012-03-09 09:29:05 +00:00
parent cbc87ce197
commit 735b24fe9c

View File

@ -99,9 +99,9 @@ class idots_framework extends egw_framework
));
}
self::validate_file('jsapi', 'egw', 'phpgwapi');
if ($this->isTop(false))
{
self::validate_file('jsapi', 'egw', 'phpgwapi');
self::validate_file('.', 'etemplate2', 'etemplate');
}