From 01059829c262d1e4062908f50e17762fa7127813 Mon Sep 17 00:00:00 2001 From: vyshane Date: Wed, 18 Oct 2006 08:41:24 +0000 Subject: [PATCH] Merged from 1.7 --- lib/ajax/ajaxlib.php | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/lib/ajax/ajaxlib.php b/lib/ajax/ajaxlib.php index 132d6bccce..150690c9a3 100644 --- a/lib/ajax/ajaxlib.php +++ b/lib/ajax/ajaxlib.php @@ -7,12 +7,12 @@ **/ function print_require_js($list) { global $CFG; - +/* if (!check_browser_version('MSIE', 6.0) && !check_browser_version('Firefox', '1.5')) { // We still have issues with YUI in other browsers. return; } - +*/ //list of shortname to filepath translations $translatelist = array( 'yui_yahoo' => '/lib/yui/yahoo/yahoo.js', @@ -34,7 +34,7 @@ function print_require_js($list) { echo "\n"; } } - /* + if (debugging('', DEBUG_DEVELOPER)) { echo "\n"; @@ -49,20 +49,26 @@ function print_require_js($list) { ?>