mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-34800_ajax_submit_23' of git://github.com/andyjdavis/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
d623842807
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
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 = this.report.Y.one('#gradersubmit');
|
||||||
submitbutton.setStyle('visibility', 'hidden');
|
submitbutton.set('disabled', true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue