mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-56221' of https://github.com/bostelm/moodle
This commit is contained in:
commit
3d15dfc9d2
2
mod/assign/amd/build/grading_panel.min.js
vendored
2
mod/assign/amd/build/grading_panel.min.js
vendored
File diff suppressed because one or more lines are too long
@ -89,7 +89,7 @@ define(['jquery', 'core/yui', 'core/notification', 'core/templates', 'core/fragm
|
||||
}
|
||||
|
||||
// Copy data from notify students checkbox which was moved out of the form.
|
||||
var checked = $('[data-region="grading-actions-form"] [name="sendstudentnotifications"]').val();
|
||||
var checked = $('[data-region="grading-actions-form"] [name="sendstudentnotifications"]').prop("checked");
|
||||
$('.gradeform [name="sendstudentnotifications"]').val(checked);
|
||||
};
|
||||
|
||||
|
@ -6260,7 +6260,7 @@ class assign {
|
||||
if ($current->grade !== null) {
|
||||
$current->grade = floatval($current->grade);
|
||||
}
|
||||
$gradechanged = $gradecolpresent && $current->grade !== $modified->grade;
|
||||
$gradechanged = $gradecolpresent && grade_floats_different($current->grade, $modified->grade);
|
||||
$markingallocationchanged = $this->get_instance()->markingworkflow &&
|
||||
$this->get_instance()->markingallocation &&
|
||||
($modified->allocatedmarker !== false) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user