Merge pull request #5895 from nextcloud/fix-password-change

Fix show password button for password change
This commit is contained in:
Morris Jobke 2017-07-27 13:29:13 +02:00 committed by GitHub
commit 63aa12e38c
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,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();
}
@ -185,6 +184,7 @@ $(document).ready(function () {
}
);
}
$(".personal-show-label").show();
$(".password-loading").remove();
$("#passwordbutton").removeAttr('disabled');
});