auth-common.js, reset.js: use global namespace for paramGet
This commit is contained in:
parent
3677d43aab
commit
edd8aae7a7
@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
// Prefills the email field from the URL parameter.
|
// Prefills the email field from the URL parameter.
|
||||||
global.prefillEmail = function() {
|
global.prefillEmail = function() {
|
||||||
if (paramGet("email") !== undefined) {
|
if (global.paramGet("email") !== undefined) {
|
||||||
$("#email").val(paramGet("email"));
|
$("#email").val(global.paramGet("email"));
|
||||||
$("#password").click();
|
$("#password").click();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
var json = {
|
var json = {
|
||||||
"resetHex": paramGet("hex"),
|
"resetHex": global.paramGet("hex"),
|
||||||
"password": $("#password").val(),
|
"password": $("#password").val(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user