mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-42880b' of git://github.com/timhunt/moodle
This commit is contained in:
commit
66a02845e9
@ -426,10 +426,12 @@ class mod_quiz_mod_form extends moodleform_mod {
|
||||
}
|
||||
}
|
||||
|
||||
$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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user