Merge pull request #5896 from nextcloud/12-5895

[stable12] Fix show password button for password change
This commit is contained in:
Morris Jobke 2017-07-27 13:26:17 +02:00 committed by GitHub
commit 2f153fe4e6
1 changed files with 1 additions and 1 deletions

View File

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