summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/js/personal.js2
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;