Merge branch 'MDL-57490-master' of git://github.com/danpoltawski/moodle
[moodle.git] / mod / lesson / report.php
index 2cb2e9f..f61a708 100644 (file)
@@ -459,11 +459,11 @@ if ($action === 'delete') {
             $('#actionid').change(function() {
                 $('#mod-lesson-report-form').submit();
             });
             $('#actionid').change(function() {
                 $('#mod-lesson-report-form').submit();
             });
-            $('#checkall').click(function() {
+            $('#checkall').click(function(e) {
                 $('#mod-lesson-report-form').find('input:checkbox').prop('checked', true);
                 e.preventDefault();
             });
                 $('#mod-lesson-report-form').find('input:checkbox').prop('checked', true);
                 e.preventDefault();
             });
-            $('#checknone').click(function() {
+            $('#checknone').click(function(e) {
                 $('#mod-lesson-report-form').find('input:checkbox').prop('checked', false);
                 e.preventDefault();
             });
                 $('#mod-lesson-report-form').find('input:checkbox').prop('checked', false);
                 e.preventDefault();
             });