Remove existing shares from ui-select field

This commit is contained in:
Julius Haertl
2016-10-14 23:55:08 +02:00
parent 382b4175a6
commit c37f9384c3
6 changed files with 92 additions and 14 deletions

View File

@@ -126,7 +126,14 @@ app.controller('BoardController', function ($rootScope, $scope, $stateParams, St
BoardService.searchUsers();
BoardService.searchUsers('%25');
$scope.searchForUser = function(search) {
if(search=="") {
search = "%25";
}
BoardService.searchUsers(search);
}
$scope.newStack = { 'boardId': $scope.id};
$scope.newCard = {};