]> git.mjollnir.org Git - moodle.git/commitdiff
Merged from 1.7.
authorvyshane <vyshane>
Fri, 1 Dec 2006 03:46:55 +0000 (03:46 +0000)
committervyshane <vyshane>
Fri, 1 Dec 2006 03:46:55 +0000 (03:46 +0000)
lib/ajax/ajaxlib.php

index ad6fa84a481c3515c4abbd959f5c4dcffa11c408..36166ffddf022afce0c12bce4812c1b712b32b40 100644 (file)
@@ -50,8 +50,8 @@ function ajaxenabled() {
     global $CFG, $USER;
 
     if (!check_browser_version('MSIE', 6.0)
-                && !check_browser_version('Firefox', 1.5)
-                && !check_browser_version('Camino', '1.0.2')) {
+                && !check_browser_version('Gecko', 20051111)) {
+               // Gecko build 20051111 is what is in Firefox 1.5.
         // We still have issues with AJAX in other browsers.
         return false;
     }