Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'w11_MDL-27457_m22_enrolnorecover' of git://github.com/s…

…kodak/moodle into MOODLE_22_STABLE
  • Loading branch information...
commit 22dde645f4de78e0d59c43d1c3cfa2fed2d414a4 2 parents d254ae8 + 1819186
@samhemelryk samhemelryk authored
View
2  enrol/manual/version.php
@@ -25,6 +25,6 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2011112900; // The current plugin version (Date: YYYYMMDDXX)
+$plugin->version = 2011112901; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2011112900; // Requires this Moodle version
$plugin->component = 'enrol_manual'; // Full name of the plugin (used for diagnostics)
View
6 enrol/manual/yui/quickenrolment/quickenrolment.js
@@ -379,7 +379,11 @@ YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
params['role'] = this.get(UEP.BASE).one('.'+CSS.ENROLMENTOPTION+'.'+CSS.ROLE+' select').get('value');
params['startdate'] = this.get(UEP.BASE).one('.'+CSS.ENROLMENTOPTION+'.'+CSS.STARTDATE+' select').get('value');
params['duration'] = this.get(UEP.BASE).one('.'+CSS.ENROLMENTOPTION+'.'+CSS.DURATION+' select').get('value');
- params['recovergrades'] = this.get(UEP.BASE).one('#'+CSS.RECOVERGRADES).get('checked')?1:0;
+ if (this.get(UEP.DISABLEGRADEHISTORY) != true) {
+ params['recovergrades'] = this.get(UEP.BASE).one('#'+CSS.RECOVERGRADES).get('checked')?1:0;
+ } else {
+ params['recovergrades'] = 0;
+ }
Y.io(M.cfg.wwwroot+this.get(UEP.AJAXURL), {
method:'POST',
Please sign in to comment.
Something went wrong with that request. Please try again.