summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-26 10:08:46 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-04-28 23:41:36 -0300
commitebcb84768158b11e532929ccfe9bfbe7d8f4a62d (patch)
treeed8de900383c53a376e4bf090e61f551eb1cd223 /settings
parent06265fe77028c9d04f00e411d1a43bf2718052e4 (diff)
downloadnextcloud-server-ebcb84768158b11e532929ccfe9bfbe7d8f4a62d.tar.gz
nextcloud-server-ebcb84768158b11e532929ccfe9bfbe7d8f4a62d.zip
remove action class once the status changes from 'to verify' to 'verifying'
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/personal.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 41051d9e25f..ad0ccaec13d 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -216,9 +216,10 @@ $(document).ready(function () {
OC.generateUrl('/settings/users/{account}/verify', {account: accountId}),
{method: 'GET'}
).done(function(data) {
+ showVerifyDialog(data.msg, data.code);
account.attr('title', 'Verifying...');
account.attr('src', OC.imagePath('core', 'actions/verifying.svg'));
- showVerifyDialog(data.msg, data.code);
+ account.removeClass('verify-action');
});
});