mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Merge branch 'MDL-49040-master' of https://github.com/jebarviabb/moodle
This commit is contained in:
commit
64fe8bfe94
@ -444,6 +444,7 @@ M.gradereport_grader.classes.ajax.prototype.submit = function(properties, values
|
||||
}
|
||||
// If feedback is editable and has changed add to the IO queue for it
|
||||
if (values.editablefeedback && values.feedback !== values.oldfeedback) {
|
||||
values.feedback = encodeURIComponent(values.feedback);
|
||||
this.pendingsubmissions.push({transaction:this.report.Y.io.queue(M.cfg.wwwroot+'/grade/report/grader/ajax_callbacks.php', {
|
||||
method : 'POST',
|
||||
data : 'id='+this.courseid+'&userid='+properties.userid+'&itemid='+properties.itemid+'&action=update&newvalue='+values.feedback+'&type=feedback&sesskey='+M.cfg.sesskey,
|
||||
|
Loading…
x
Reference in New Issue
Block a user