Merge pull request #25252 from owncloud/authtoken-removetooltipondisconnect

Remove tooltip when disconnecting token
pull/350/head
Morris Jobke 2016-06-27 10:42:35 +07:00 committed by GitHub
commit b9edcd78bf
1 changed files with 2 additions and 0 deletions

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