]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15498: Completion fix: change to use ajaxenabled in progress report
authorsam_marshall <sam_marshall>
Mon, 28 Jul 2008 17:21:13 +0000 (17:21 +0000)
committersam_marshall <sam_marshall>
Mon, 28 Jul 2008 17:21:13 +0000 (17:21 +0000)
course/report/progress/index.php

index 68ee2d2ba0bf18eb04b59228a2ad9012ee192c51..a54c4e6930fa26d1a352c7a40466b1c26988b56d 100644 (file)
@@ -67,7 +67,7 @@ if($csv) {
     }
 } else {
     // Use SVG to draw sideways text if supported
-    $svgcleverness=check_browser_version('Firefox',2.0) && !$USER->screenreader;
+    $svgcleverness=ajaxenabled(array('Firefox'=>2.0)) && !$USER->screenreader; 
 
     // Navigation and header
     $strreports = get_string("reports");