Do not allow to remove the user from the admin group

This commit is contained in:
Johannes Zellner
2016-02-11 13:43:02 +01:00
parent e4799991ec
commit 2f7d99f3f6
2 changed files with 12 additions and 1 deletions

View File

@@ -35,6 +35,14 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
password: ''
};
$scope.showBubble = function ($event) {
$($event.target).tooltip('show');
setTimeout(function () {
$($event.target).tooltip('hide');
}, 2000);
};
$scope.groupAdd = {
busy: false,
error: {},