X in search bar clears search text, and the filter on the project list

This commit is contained in:
Henry Oswald 2014-07-21 14:27:56 +01:00
parent 1322f3e183
commit 9292000f01

View file

@ -95,7 +95,9 @@ define [
$scope.clearSearchText = () ->
$scope.searchText = ""
$scope.filter = "all"
$scope.$emit "search:clear"
$scope.updateVisibleProjects()
$scope.setFilter = (filter) ->
$scope.filter = filter