Home hosts page

Fixed broken edit dialog
This commit is contained in:
Chris Houseknecht
2014-07-02 20:46:56 -04:00
parent 061d1acaa5
commit 67daa1599b
3 changed files with 13 additions and 3 deletions

View File

@@ -621,7 +621,12 @@ function($rootScope, $location, $log, $routeParams, Rest, Alert, HostForm, Gener
catch(err) {
// ignore
}
group_scope.refreshHosts();
if (group_scope && group_scope.refreshHosts) {
group_scope.refreshHosts();
}
if (parent_scope.refreshHosts) {
parent_scope.refreshHosts();
}
scope.$destroy();
});