mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Merge branch 'MDL-37707-master-fixup' of https://github.com/FMCorz/moodle
This commit is contained in:
commit
7e704313d2
@ -155,6 +155,9 @@ class mod_assign_mod_form extends moodleform_mod {
|
||||
$mform->addElement('select', 'teamsubmissiongroupingid', $name, $options);
|
||||
$mform->addHelpButton('teamsubmissiongroupingid', 'teamsubmissiongroupingid', 'assign');
|
||||
$mform->disabledIf('teamsubmissiongroupingid', 'teamsubmission', 'eq', 0);
|
||||
if ($assignment->has_submissions_or_grades()) {
|
||||
$mform->freeze('teamsubmissiongroupingid');
|
||||
}
|
||||
|
||||
$mform->addElement('header', 'notifications', get_string('notifications', 'assign'));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user