mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Fix placement of network ui select2 dropdowns
Render them in the correct parent container in the DOM.
This commit is contained in:
@@ -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'),
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user