Permalink
Browse files

Merge branch 'MDL-34800_ajax_submit_23' of git://github.com/andyjdavi…

…s/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 41eb312 + 46c9d98 commit d62384280774fb9a121fad98be3fd8cfb1e6909b @danpoltawski danpoltawski committed Feb 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 grade/report/grader/module.js
@@ -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);
}
};
/**

0 comments on commit d623842

Please sign in to comment.