Add tooltips for superusers

This commit is contained in:
Johannes Zellner
2016-02-25 16:07:31 +01:00
parent b5c7f978a2
commit 82a347ea4b
2 changed files with 5 additions and 1 deletions

View File

@@ -357,6 +357,10 @@ 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 () {