summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-26 22:54:23 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-26 22:54:23 +0200
commit8f0a0c805eaa50ffa85ebdf525c3558f71d56409 (patch)
tree2bc99df911aee033059efded3fa301b863aa7644 /settings
parent174cd4f478b0c555a23ddb5de3aedae3aac82220 (diff)
downloadnextcloud-server-8f0a0c805eaa50ffa85ebdf525c3558f71d56409.tar.gz
nextcloud-server-8f0a0c805eaa50ffa85ebdf525c3558f71d56409.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/settings/personalInfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/settings/personalInfo.js b/settings/js/settings/personalInfo.js
index 306994a7094..89b37d291c5 100644
--- a/settings/js/settings/personalInfo.js
+++ b/settings/js/settings/personalInfo.js
@@ -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');
});