mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02:00
MDL-19795 Put an inline JS function into its own file
This commit is contained in:
parent
8f270f3e8d
commit
406c34c80f
5
enrol/authorize/authorize.js
Normal file
5
enrol/authorize/authorize.js
Normal file
@ -0,0 +1,5 @@
|
||||
function authorize_jump_to_mypayments(e, args) {
|
||||
var locationtogo = moodle_cfg.wwwroot + '/enrol/authorize/index.php?status' + args.status;
|
||||
locationtogo += '&user=' + (this.checked ? args.userid : '0');
|
||||
top.location.href = locationtogo;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user