diff options
author | Raghu Nayyar <hey@raghunayyar.com> | 2016-09-01 11:04:06 +0200 |
---|---|---|
committer | Raghu Nayyar <hey@raghunayyar.com> | 2016-09-17 14:38:26 +0200 |
commit | 91ffb635955e1e67cc956208faa16f801852dc8a (patch) | |
tree | 8a61192c4820ab0e0580baa8a980cf7d7ff6b166 /settings | |
parent | 682ed7ff8ff49e538ba0b12f06cddffc45593d05 (diff) | |
download | nextcloud-server-91ffb635955e1e67cc956208faa16f801852dc8a.tar.gz nextcloud-server-91ffb635955e1e67cc956208faa16f801852dc8a.zip |
Adds a checkmark when the change is complete.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 4 | ||||
-rw-r--r-- | settings/js/personal.js | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index d66b0f82b55..3cebcfb8d9c 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -96,6 +96,10 @@ input#identity { padding: 3px; } +.password-state { + display: inline-block; +} + table.nostyle label { margin-right: 2em; } table.nostyle td { padding: 0.2em 0; } 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); |