mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-34800_ajax_submit' of git://github.com/andyjdavis/moodle
This commit is contained in:
commit
8450149249
@ -323,9 +323,9 @@ M.gradereport_grader.classes.ajax = function(report, cfg) {
|
||||
this.existingfields[userid][itemid] = new M.gradereport_grader.classes.existingfield(this, userid, itemid);
|
||||
}
|
||||
}
|
||||
// Hide the Update button
|
||||
// Disable the Update button as we're saving using ajax.
|
||||
submitbutton = this.report.Y.one('#gradersubmit');
|
||||
submitbutton.setStyle('visibility', 'hidden');
|
||||
submitbutton.set('disabled', true);
|
||||
}
|
||||
};
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user