mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Fixed organization lookup on Inventory Edit section of Inventory detail page.
This commit is contained in:
@@ -230,6 +230,13 @@ function InventoriesEdit ($scope, $rootScope, $compile, $location, $log, $routeP
|
|||||||
scope.createButtonShow = false;
|
scope.createButtonShow = false;
|
||||||
scope.search(scope.relatedSets['hosts'].iterator);
|
scope.search(scope.relatedSets['hosts'].iterator);
|
||||||
TreeInit(scope.TreeParams);
|
TreeInit(scope.TreeParams);
|
||||||
|
LookUpInit({
|
||||||
|
scope: scope,
|
||||||
|
form: form,
|
||||||
|
current_item: (scope.organization) ? scope.organization : null,
|
||||||
|
list: OrganizationList,
|
||||||
|
field: 'organization'
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
LoadInventory({ scope: scope });
|
LoadInventory({ scope: scope });
|
||||||
|
|||||||
Reference in New Issue
Block a user