Merge pull request #25252 from owncloud/authtoken-removetooltipondisconnect

Remove tooltip when disconnecting token
This commit is contained in:
Morris Jobke 2016-06-27 10:42:35 +02:00 committed by GitHub
commit b9edcd78bf
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'));