MDL-19795 Put an inline JS function into its own file

This commit is contained in:
nicolasconnault 2009-08-06 14:31:25 +00:00
parent 8f270f3e8d
commit 406c34c80f

View 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;
}