aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRaghu Nayyar <hey@raghunayyar.com>2016-09-01 11:04:06 +0200
committerRaghu Nayyar <hey@raghunayyar.com>2016-09-17 14:38:26 +0200
commit91ffb635955e1e67cc956208faa16f801852dc8a (patch)
tree8a61192c4820ab0e0580baa8a980cf7d7ff6b166 /settings/js
parent682ed7ff8ff49e538ba0b12f06cddffc45593d05 (diff)
downloadnextcloud-server-91ffb635955e1e67cc956208faa16f801852dc8a.tar.gz
nextcloud-server-91ffb635955e1e67cc956208faa16f801852dc8a.zip
Adds a checkmark when the change is complete.
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/personal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 41ddb835d9f..04dbd51e99d 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -214,6 +214,7 @@ $(document).ready(function () {
// Ajax foo
$.post(OC.generateUrl('/settings/personal/changepassword'), post, function (data) {
if (data.status === "success") {
+ $("#passwordbutton").after("<span class='checkmark icon icon-checkmark password-state'></span>");
$('#pass1').val('');
$('#pass2').val('').change();
OC.msg.finishedSaving('#password-error-msg', data);