diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-26 22:54:23 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-07-26 22:57:56 +0200 |
commit | 1f82223883c3048a441497e45b3ac9f6c4a1b258 (patch) | |
tree | 4dd6d3c542706e9f4230caeb243596cdc495b9fd /settings | |
parent | 2290255bb29301bc7958e92f2d0b8917248b35b4 (diff) | |
download | nextcloud-server-1f82223883c3048a441497e45b3ac9f6c4a1b258.tar.gz nextcloud-server-1f82223883c3048a441497e45b3ac9f6c4a1b258.zip |
Fix show password button for password change
* fix the show password button on the personal page
* before: if the password change failed the show password icon was not shown again
* after: show password icon is visible
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/personal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index effce9de07e..5d8a0b8b49e 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -168,7 +168,6 @@ $(document).ready(function () { if (data.status === "success") { $("#passwordbutton").after("<span class='checkmark icon icon-checkmark password-state'></span>"); removeloader(); - $(".personal-show-label").show(); $('#pass1').val(''); $('#pass2').val('').change(); } @@ -184,6 +183,7 @@ $(document).ready(function () { } ); } + $(".personal-show-label").show(); $(".password-loading").remove(); $("#passwordbutton").removeAttr('disabled'); }); |