mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 05:17:36 -02:30
Fixed bug where search dropdown was not being hidden when one of the dropdown items was selected.
This commit is contained in:
@@ -19,9 +19,10 @@ export default ['$scope', 'Refresh', 'tagSearchService',
|
|||||||
};
|
};
|
||||||
|
|
||||||
// sets the search type dropdown and hides it
|
// sets the search type dropdown and hides it
|
||||||
$scope.setSearchType = function(type) {
|
$scope.setSearchType = function($event, type) {
|
||||||
$scope.currentSearchType = type;
|
$scope.currentSearchType = type;
|
||||||
$scope.showTypeDropdown = false;
|
$scope.showTypeDropdown = false;
|
||||||
|
$event.stopPropagation();
|
||||||
};
|
};
|
||||||
|
|
||||||
// if the current search type uses a list instead
|
// if the current search type uses a list instead
|
||||||
|
|||||||
Reference in New Issue
Block a user