mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'w11_MDL-27457_m23_enrolnorecover' of git://github.com/skodak/moodle
This commit is contained in:
commit
820a80f903
2 changed files with 6 additions and 2 deletions
|
@ -25,6 +25,6 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
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->requires = 2011112900; // Requires this Moodle version
|
||||||
$plugin->component = 'enrol_manual'; // Full name of the plugin (used for diagnostics)
|
$plugin->component = 'enrol_manual'; // Full name of the plugin (used for diagnostics)
|
||||||
|
|
|
@ -380,7 +380,11 @@ YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
|
||||||
params['role'] = this.get(UEP.BASE).one('.'+CSS.ENROLMENTOPTION+'.'+CSS.ROLE+' select').get('value');
|
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['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['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), {
|
Y.io(M.cfg.wwwroot+this.get(UEP.AJAXURL), {
|
||||||
method:'POST',
|
method:'POST',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue