Permalink
Browse files

Merge branch 'MDL-42880b_24' of git://github.com/timhunt/moodle into …

…MOODLE_24_STABLE
  • Loading branch information...
2 parents 67c0ced + cade07b commit f7a061c2c17d8d6a80c9b950c6101eb3cd3651f4 @danpoltawski danpoltawski committed Nov 18, 2013
Showing with 6 additions and 4 deletions.
  1. +6 −4 mod/quiz/mod_form.php
View
@@ -424,10 +424,12 @@ protected function add_review_options_group($mform, $quizconfig, $whenname,
}
}
- $mform->disabledIf('correctness' . $whenname, 'attempt' . $whenname);
- $mform->disabledIf('specificfeedback' . $whenname, 'attempt' . $whenname);
- $mform->disabledIf('generalfeedback' . $whenname, 'attempt' . $whenname);
- $mform->disabledIf('rightanswer' . $whenname, 'attempt' . $whenname);
+ if ($whenname != 'during') {
+ $mform->disabledIf('correctness' . $whenname, 'attempt' . $whenname);
+ $mform->disabledIf('specificfeedback' . $whenname, 'attempt' . $whenname);
+ $mform->disabledIf('generalfeedback' . $whenname, 'attempt' . $whenname);
+ $mform->disabledIf('rightanswer' . $whenname, 'attempt' . $whenname);
+ }
}
protected function preprocessing_review_settings(&$toform, $whenname, $when) {

0 comments on commit f7a061c

Please sign in to comment.