From ebcb84768158b11e532929ccfe9bfbe7d8f4a62d Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 26 Apr 2017 10:08:46 +0200 Subject: remove action class once the status changes from 'to verify' to 'verifying' Signed-off-by: Bjoern Schiessle --- settings/js/personal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'settings') 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'); }); }); -- cgit v1.2.3