Remove hack to show bootstrap tooltip

This commit is contained in:
Johannes Zellner
2016-07-14 12:48:21 +02:00
parent ebb564f623
commit cfeab2db42
2 changed files with 1 additions and 5 deletions

View File

@@ -261,7 +261,7 @@
<tbody>
<tr ng-repeat="user in users">
<td>
<i class="fa fa-briefcase" ng-show="user.admin" data-toggle="tooltip" title="This user can manage apps, groups and other users" ng-init="initTooltip()"></i>
<i class="fa fa-briefcase arrow" ng-show="user.admin" uib-tooltip="This user can manage apps, groups and other users"></i>
</td>
<td class="hand elide-table-cell" ng-click="showUserEdit(user)">
{{ user.username }}

View File

@@ -391,10 +391,6 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
refresh();
$scope.initTooltip = function () {
$('[data-toggle="tooltip"]').tooltip();
};
// setup all the dialog focus handling
['userAddModal', 'userRemoveModal', 'userEditModal', 'groupAddModal', 'groupRemoveModal'].forEach(function (id) {
$('#' + id).on('shown.bs.modal', function () {