mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-43199 assign: fix js error when expanding comments for non editing teachers in assign grading table
This commit is contained in:
parent
c36a2401ab
commit
a66555328b
@ -150,9 +150,11 @@ M.mod_assign.init_grading_options = function(Y) {
|
||||
});
|
||||
}
|
||||
var showonlyactiveenrolelement = Y.one('#id_showonlyactiveenrol');
|
||||
showonlyactiveenrolelement.on('change', function(e) {
|
||||
if (showonlyactiveenrolelement) {
|
||||
showonlyactiveenrolelement.on('change', function(e) {
|
||||
Y.one('form.gradingoptionsform').submit();
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user