Add option

This commit is contained in:
Loic GUEGAN 2016-05-04 22:54:14 +02:00
parent a9e8c8e664
commit 4daec471a3
2 changed files with 180 additions and 174 deletions

View file

@ -42,7 +42,7 @@ mainApp.controller('machineDetailsCtrl', ['$scope', 'Compute', '$rootScope', '$t
};
$scope.deleteMachine=function(){
Compute.deleteMachine(function(){Compute.pullData(function(){});},$scope.machine.id);
Compute.deleteMachine(function(){Compute.pullData(function(){$rootScope.$broadcast("updateGraphEvent")});},$scope.machine.id);
}
}]);