From 7ecef3ee5edea9293d9214644b3f54c8bc916aba Mon Sep 17 00:00:00 2001 From: kialam Date: Thu, 7 Jun 2018 13:49:26 -0400 Subject: [PATCH] Fix placement of network ui `select2` dropdowns Render them in the correct parent container in the DOM. --- .../src/network-ui/network-nav/network.nav.controller.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/network-ui/network-nav/network.nav.controller.js b/awx/ui/client/src/network-ui/network-nav/network.nav.controller.js index fba7aa1058..dde43e8c34 100644 --- a/awx/ui/client/src/network-ui/network-nav/network.nav.controller.js +++ b/awx/ui/client/src/network-ui/network-nav/network.nav.controller.js @@ -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'), }); });