remove action class once the status changes from 'to verify' to 'verifying'

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-04-26 10:08:46 +02:00 committed by Morris Jobke
parent 06265fe770
commit ebcb847681
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 2 additions and 1 deletions

View File

@ -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');
});
});