Permalink
Browse files

MDL-36835 Assignment: Do not show javascript warning when toggling qu…

…ickgrading
  • Loading branch information...
1 parent 71e8ee1 commit 0e3c1231da2c6f45c16ff0816ac29990b5a73a82 @damyon damyon committed with danpoltawski Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/gradingoptionsform.php
@@ -59,7 +59,7 @@ function definition() {
// quickgrading
if ($instance['showquickgrading']) {
- $mform->addElement('checkbox', 'quickgrading', get_string('quickgrading', 'assign'), '');
+ $mform->addElement('checkbox', 'quickgrading', get_string('quickgrading', 'assign'), '', $dirtyclass);
$mform->addHelpButton('quickgrading', 'quickgrading', 'assign');
$mform->setDefault('quickgrading', $instance['quickgrading']);
}

0 comments on commit 0e3c123

Please sign in to comment.