AC-1024 Hosts deletes now work as described in the ticket. Removing a host from a group removes it from the selected group and its children. Removing a host from a group does still leave it in All Hosts, and this is explained in the dialog prompt. Removing it from All Hosts permanently deletes it, again explained in the dialog prompt.

This commit is contained in:
Chris Houseknecht
2014-03-05 00:28:37 -05:00
parent dc376c1c40
commit b8eb7c51b6
3 changed files with 59 additions and 20 deletions
@@ -484,6 +484,9 @@ function InventoriesEdit($scope, $location, $routeParams, $compile, GenerateList
$scope.groups[i].active_class = '';
}
}
if (Empty($scope.inventory_id)) {
$scope.inventory_id = $scope.groups[0].inentory_id;
}
HostsReload({
scope: $scope,
group_id: group_id,