diff options
author | Raghu Nayyar <hey@raghunayyar.com> | 2016-09-01 18:54:19 +0200 |
---|---|---|
committer | Raghu Nayyar <hey@raghunayyar.com> | 2016-09-17 14:38:26 +0200 |
commit | 6b2680f5f554c5c5655832628913e25b7b930c22 (patch) | |
tree | b1830c2941788ba4542a5f0fcabc37b2e4167af6 /settings/js | |
parent | b30908ba5d2d2425b32bfc3cc4db081f10de1e17 (diff) | |
download | nextcloud-server-6b2680f5f554c5c5655832628913e25b7b930c22.tar.gz nextcloud-server-6b2680f5f554c5c5655832628913e25b7b930c22.zip |
Removes spinner in case password is wrong as well.
Diffstat (limited to 'settings/js')
-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 49bd0d68238..999c0eed6de 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -225,7 +225,6 @@ $(document).ready(function () { // Ajax foo $.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) { if (data.status === "success") { - $(".password-loading").remove(); $("#passwordbutton").after("<span class='checkmark icon icon-checkmark password-state'></span>"); removeloader(); $(".personal-show-label").show(); @@ -246,6 +245,7 @@ $(document).ready(function () { ); } } + $(".password-loading").remove(); $("#passwordbutton").removeAttr('disabled'); }); return false; |