Merge branch 'MDL-34800_ajax_submit_23' of git://github.com/andyjdavis/moodle into MOODLE_23_STABLE

This commit is contained in:
Dan Poltawski 2013-02-18 11:07:48 +08:00
commit d623842807

View file

@ -322,9 +322,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);
}
};
/**