Commit ca120f14 by Stephen Sanchez

TIM-406 Refresh Grade section after submission

parent aee5f74a
......@@ -27,6 +27,9 @@ describe("OpenAssessment.ResponseView", function() {
// Stub base view
var StubBaseView = function() {
this.gradeView = {
load: function(){}
};
this.showLoadError = function(msg) {};
this.toggleActionError = function(msg, step) {};
this.setUpCollapseExpand = function(sel) {};
......
......@@ -306,6 +306,7 @@ OpenAssessment.ResponseView.prototype = {
moveToNextStep: function() {
this.load();
this.baseView.renderPeerAssessmentStep();
this.baseView.gradeView.load();
// Disable the "unsaved changes" warning if the user
// tries to navigate to another page.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment