|
|
@ -38,8 +38,8 @@ |
|
|
|
$scope.newExtraGroups = []; |
|
|
|
|
|
|
|
$scope.typingUser = function () { |
|
|
|
$scope.newUid = $scope.newUid.toLowerCase().replace(' ', '-'); |
|
|
|
$scope.newCn = $scope.newUid.replace('-',' ').replace(/(^\w|\s\w)/g, m => m.toUpperCase()); |
|
|
|
$scope.newUid = $scope.newUid.toLowerCase().replace(' ', '.'); |
|
|
|
$scope.newCn = $scope.newUid.replace('.',' ').replace(/(^\w|\s\w)/g, m => m.toUpperCase()); |
|
|
|
}; |
|
|
|
|
|
|
|
$scope.notPrincipal = function (group) { |
|
|
|