Merge pull request #2086 from Haokun-Chen/2033

Reset and clear export dropdown selection after user takes action for Network UI
This commit is contained in:
Haokun Chen 2018-06-07 14:36:36 -04:00 committed by GitHub
commit fa9c6967fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ function NetworkingController (models, $state, $scope, strings) {
//Handlers for actions drop down
$('#networking-actionsDropdown').on('select2:select', (e) => {
$scope.$broadcast('awxNet-toolbarButtonEvent', e.params.data.title);
$("#networking-actionsDropdown").val(null).trigger('change');
});
$('#networking-actionsDropdown').on('select2:open', () => {