Toggle for add permissions dialog

Fixes #1553
This commit is contained in:
Joseph Schorr 2016-06-20 14:33:40 -04:00
parent af430d26fe
commit 41ae47c995
4 changed files with 43 additions and 2 deletions

View file

@ -659,6 +659,10 @@ angular.module("core-ui", [])
},
controller: function($rootScope, $scope, $element) {
$scope.getClass = function(items, checked) {
if (!checked) {
return 'none';
}
if (checked.length == 0) {
return 'none';
}