Skip to content

Commit

Permalink
Merge branch 'MDL-34800_ajax_submit_23' of git://github.com/andyjdavi…
Browse files Browse the repository at this point in the history
…s/moodle into MOODLE_23_STABLE
  • Loading branch information
danpoltawski committed Feb 18, 2013
2 parents 41eb312 + 46c9d98 commit d623842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grade/report/grader/module.js
Expand Up @@ -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);
}
};
/**
Expand Down

0 comments on commit d623842

Please sign in to comment.