Use change
event instead of blur
.
This solves a bug whereby switching to the register form doesn't happen because validation gets triggered which somehow prevents it.
This commit is contained in:
parent
f1519bed1e
commit
85078b403b
@ -462,7 +462,7 @@
|
||||
className: 'controlbox-pane fade-in',
|
||||
events: {
|
||||
'submit form#converse-login': 'authenticate',
|
||||
'blur input': 'validate'
|
||||
'change input': 'validate'
|
||||
},
|
||||
|
||||
initialize (cfg) {
|
||||
|
@ -403,9 +403,6 @@
|
||||
return form;
|
||||
},
|
||||
|
||||
showRegistrationForm () {
|
||||
},
|
||||
|
||||
showSpinner () {
|
||||
const form = this.el.querySelector('form');
|
||||
form.innerHTML = tpl_spinner();
|
||||
|
Loading…
Reference in New Issue
Block a user