mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-21 04:24:36 -04:00
Upgrade jQuery to 3.x on fallback login/registration screens (#7236)
This commit is contained in:
parent
24722de7c8
commit
55d46da59a
9 changed files with 15 additions and 16 deletions
File diff suppressed because one or more lines are too long
2
synapse/static/client/register/js/jquery-3.4.1.min.js
vendored
Normal file
2
synapse/static/client/register/js/jquery-3.4.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -33,7 +33,7 @@ var setupCaptcha = function() {
|
|||
callback: Recaptcha.focus_response_field
|
||||
});
|
||||
window.matrixRegistration.isUsingRecaptcha = true;
|
||||
}).error(errorFunc);
|
||||
}).fail(errorFunc);
|
||||
|
||||
};
|
||||
|
||||
|
@ -49,7 +49,7 @@ var submitCaptcha = function(user, pwd) {
|
|||
$.post(matrixRegistration.endpoint, JSON.stringify(data), function(response) {
|
||||
console.log("Success -> "+JSON.stringify(response));
|
||||
submitPassword(user, pwd, response.session);
|
||||
}).error(function(err) {
|
||||
}).fail(function(err) {
|
||||
Recaptcha.reload();
|
||||
errorFunc(err);
|
||||
});
|
||||
|
@ -67,7 +67,7 @@ var submitPassword = function(user, pwd, session) {
|
|||
matrixRegistration.onRegistered(
|
||||
response.home_server, response.user_id, response.access_token
|
||||
);
|
||||
}).error(errorFunc);
|
||||
}).fail(errorFunc);
|
||||
};
|
||||
|
||||
var errorFunc = function(err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue