mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 09:20:12 +01:00
Fix regression which hides the password change form
This came in via https://github.com/wekan/wekan/pull/5032/files as I wasn't aware the class name was reused. Unfortunately I couldn't find how to create an explicit new class name for only the password change form, so we show the form in code now. Fixes #5144
This commit is contained in:
parent
a130e9b52b
commit
79e61f6d64
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ Template.editProfilePopup.events({
|
||||||
// XXX For some reason the useraccounts autofocus isnt working in this case.
|
// XXX For some reason the useraccounts autofocus isnt working in this case.
|
||||||
// See https://github.com/meteor-useraccounts/core/issues/384
|
// See https://github.com/meteor-useraccounts/core/issues/384
|
||||||
Template.changePasswordPopup.onRendered(function() {
|
Template.changePasswordPopup.onRendered(function() {
|
||||||
|
$('.at-pwd-form').show();
|
||||||
this.find('#at-field-current_password').focus();
|
this.find('#at-field-current_password').focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue