Merge branch 'MDL-50535_m29' of git://github.com/markn86/moodle into MOODLE_29_STABLE
This commit is contained in:
@@ -692,6 +692,8 @@ abstract class moodleform_mod extends moodleform {
|
||||
$mform->setType('gradepass', PARAM_RAW);
|
||||
if (!$this->_features->rating) {
|
||||
$mform->disabledIf('gradepass', 'grade[modgrade_type]', 'eq', 'none');
|
||||
} else {
|
||||
$mform->disabledIf('gradepass', 'assessed', 'eq', '0');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user