MDL-32048 mod_quiz: Question bank select/deselect all shows strange behaviour in IE
authorM Kassaei <m.kassaei@open.ac.uk>
Wed, 14 Mar 2012 14:52:10 +0000 (14:52 +0000)
committerSam Hemelryk <sam@moodle.com>
Mon, 19 Mar 2012 21:55:01 +0000 (10:55 +1300)
question/qbank.js

index 69cf07f..5f82f53 100644 (file)
@@ -44,7 +44,7 @@ question_bank = {
         question_bank.firstcheckbox = document.getElementById(firstcbid);
 
         // Add the event handler.
-        YAHOO.util.Event.addListener(question_bank.headercheckbox, 'change', question_bank.header_checkbox_click);
+        YAHOO.util.Event.addListener(question_bank.headercheckbox, 'click', question_bank.header_checkbox_click);
     },
 
     header_checkbox_click: function() {