Fixed bug where search dropdown was not being hidden when one of the dropdown items was selected.

This commit is contained in:
Michael Abashian 2016-06-10 10:01:24 -04:00
parent 67cfc35c79
commit a52d686306

View File

@ -19,9 +19,10 @@ export default ['$scope', 'Refresh', 'tagSearchService',
};
// sets the search type dropdown and hides it
$scope.setSearchType = function(type) {
$scope.setSearchType = function($event, type) {
$scope.currentSearchType = type;
$scope.showTypeDropdown = false;
$event.stopPropagation();
};
// if the current search type uses a list instead