From 30d45d9b371be6ce3b20e0e39c684152732ef4aa Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 7 Jun 2010 15:10:58 +0000 Subject: [PATCH] allways load jquery (not -ui) and egw_json for all templates --- phpgwapi/inc/class.egw_framework.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 8398987a44..bc1f41c626 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -693,8 +693,13 @@ abstract class egw_framework { $java_script = ''; + // allways load jquery (not -ui) and egw_json + $GLOBALS['egw']->js->validate_file('jquery','jquery'); + $GLOBALS['egw']->js->validate_file('.','egw_json'); + // always include javascript helper functions $GLOBALS['egw']->js->validate_file('jsapi','jsapi'); + // GLOBAL var to tell egroupware wether or not to enable the IE selectBox resize hack if($GLOBALS['egw_info']['user']['preferences']['common']['enable_ie_dropdownmenuhack']) {