mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -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({
|
$("#networking-search").select2({
|
||||||
width:'400px',
|
width:'400px',
|
||||||
containerCssClass: 'Form-dropDown',
|
containerCssClass: 'Form-dropDown',
|
||||||
placeholder: 'SEARCH'
|
placeholder: 'SEARCH',
|
||||||
|
dropdownParent: $('.Networking-toolbar'),
|
||||||
});
|
});
|
||||||
$("#networking-actionsDropdown").select2({
|
$("#networking-actionsDropdown").select2({
|
||||||
width:'400px',
|
width:'400px',
|
||||||
containerCssClass: 'Form-dropDown',
|
containerCssClass: 'Form-dropDown',
|
||||||
minimumResultsForSearch: -1,
|
minimumResultsForSearch: -1,
|
||||||
placeholder: 'ACTIONS'
|
placeholder: 'ACTIONS',
|
||||||
|
dropdownParent: $('.Networking-toolbar'),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user