From a74a7dd21ed0d8d066159e287289d3d665fa3242 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Wed, 9 Oct 2013 12:36:41 -0400 Subject: [PATCH] Fine tuning of inventory groups tree fuoc thing. --- awx/ui/static/js/helpers/inventory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/helpers/inventory.js b/awx/ui/static/js/helpers/inventory.js index a29abc1299..18b058fa7b 100644 --- a/awx/ui/static/js/helpers/inventory.js +++ b/awx/ui/static/js/helpers/inventory.js @@ -162,7 +162,7 @@ angular.module('InventoryHelper', [ 'RestServices', 'Utilities', 'OrganizationLi $('#inventory-node ins').first().remove(); $('#inventory-node a ins').first().css('background-image', 'none').append('').css('margin-right','10px'); - $('#tree-view').parent().css('opacity','100'); // all our changes are done. display the tree + $('#tree-view ul').first().css('opacity','100'); // all our changes are done. display the tree scope['treeLoading'] = false; Wait('stop'); @@ -409,7 +409,7 @@ angular.module('InventoryHelper', [ 'RestServices', 'Utilities', 'OrganizationLi TreeInit(scope.TreeParams); }); - $('#tree-view').parent().css('opacity','0'); //Hide the tree until all the changes are made + $('#tree-view ul').first().css('opacity','0'); //Hide the tree until all the changes are made scope.treeLoading = true; LoadInventory({ scope: scope, doPostSteps: true });