mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Fine tuning of inventory groups tree fuoc thing.
This commit is contained in:
@@ -162,7 +162,7 @@ angular.module('InventoryHelper', [ 'RestServices', 'Utilities', 'OrganizationLi
|
|||||||
$('#inventory-node ins').first().remove();
|
$('#inventory-node ins').first().remove();
|
||||||
$('#inventory-node a ins').first().css('background-image', 'none').append('<i class="icon-sitemap"></i>').css('margin-right','10px');
|
$('#inventory-node a ins').first().css('background-image', 'none').append('<i class="icon-sitemap"></i>').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;
|
scope['treeLoading'] = false;
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
|
|
||||||
@@ -409,7 +409,7 @@ angular.module('InventoryHelper', [ 'RestServices', 'Utilities', 'OrganizationLi
|
|||||||
TreeInit(scope.TreeParams);
|
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;
|
scope.treeLoading = true;
|
||||||
LoadInventory({ scope: scope, doPostSteps: true });
|
LoadInventory({ scope: scope, doPostSteps: true });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user