瀏覽代碼

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
Johannes Zellner 1 年之前
父節點
當前提交
79e61f6d64
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/components/users/userHeader.js

+ 1 - 0
client/components/users/userHeader.js

@@ -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();
 });
 });