Fixed organization lookup on Inventory Edit section of Inventory detail page.

This commit is contained in:
chouseknecht
2013-06-04 19:19:44 -04:00
parent 2accb94972
commit 6dba6bbdb9

View File

@@ -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 });