Fix placement of network ui select2 dropdowns

Render them in the correct parent container in the DOM.
This commit is contained in:
kialam 2018-06-07 13:49:26 -04:00
parent b1f36572c6
commit 7ecef3ee5e

View File

@ -45,13 +45,15 @@ function NetworkingController (models, $state, $scope, strings) {
$("#networking-search").select2({
width:'400px',
containerCssClass: 'Form-dropDown',
placeholder: 'SEARCH'
placeholder: 'SEARCH',
dropdownParent: $('.Networking-toolbar'),
});
$("#networking-actionsDropdown").select2({
width:'400px',
containerCssClass: 'Form-dropDown',
minimumResultsForSearch: -1,
placeholder: 'ACTIONS'
placeholder: 'ACTIONS',
dropdownParent: $('.Networking-toolbar'),
});
});