]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-20841 temporary fix for buggy YUI 2.8.0r4, dummy callback prevents error in js
authorPetr Skoda <skodak@moodle.org>
Wed, 16 Dec 2009 19:34:35 +0000 (19:34 +0000)
committerPetr Skoda <skodak@moodle.org>
Wed, 16 Dec 2009 19:34:35 +0000 (19:34 +0000)
lib/flashdetect/flashdetect.js

index 141d4ab23392f3699e40ed52a5425656c2c84ac8..133a6ee00d81a075cb020b892f067750964642d8 100644 (file)
@@ -5,6 +5,6 @@
 //WARNING: before to use this function you need to load lib/swfobject/swfobject.js + YUI: 'yahoo-min.js', 'event-min.js', 'connection-min.js'
 function setflashversiontosession (wwwroot, sesskey) {
     var flashversion = swfobject.getFlashPlayerVersion();
-    var callback = {}; //the callback is mandatory in 2.8.0r4 because there is a bug hen checking xdr attribute
+    var callback = {}; //the callback is mandatory in 2.8.0r4 because there is a bug when checking xdr attribute
     YAHOO.util.Connect.asyncRequest('GET',wwwroot+'/login/environment.php?sesskey='+sesskey+'&flashversion='+flashversion.major+'.'+flashversion.minor+'.'+flashversion.release, callback);
 }
\ No newline at end of file