Remove tooltip when disconnecting token

This commit is contained in:
Vincent Petry 2016-06-23 18:30:45 +02:00
parent cc2aec11af
commit 8fef9a197f
No known key found for this signature in database
GPG Key ID: AF8F9EFC56562186
1 changed files with 2 additions and 0 deletions

View File

@ -220,6 +220,8 @@
var destroyingToken = token.destroy();
$row.find('.icon-delete').tooltip('hide');
var _this = this;
$.when(destroyingToken).fail(function() {
OC.Notification.showTemporary(t('core', 'Error while deleting the token'));