From 735b24fe9ce018bde8ad59f809f049258132f5c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=B6ckel?= Date: Fri, 9 Mar 2012 09:29:05 +0000 Subject: [PATCH] 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 --- phpgwapi/templates/idots/class.idots_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/templates/idots/class.idots_framework.inc.php b/phpgwapi/templates/idots/class.idots_framework.inc.php index 23e8941adf..21cc92ede8 100644 --- a/phpgwapi/templates/idots/class.idots_framework.inc.php +++ b/phpgwapi/templates/idots/class.idots_framework.inc.php @@ -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'); }