summaryrefslogtreecommitdiff
path: root/client/js/controllers/home/machineDetails.js
diff options
context:
space:
mode:
authorLoic GUEGAN <loic@Manzerbredes.home>2016-05-04 22:54:14 +0200
committerLoic GUEGAN <loic@Manzerbredes.home>2016-05-04 22:54:14 +0200
commit4daec471a322645a8173739a5edd17e57b7f2d27 (patch)
tree9071ebdbd264d0bbc2227ae6958e9af38bb51714 /client/js/controllers/home/machineDetails.js
parenta9e8c8e6644a83e81fb904ab0febf199421865ba (diff)
Add option
Diffstat (limited to 'client/js/controllers/home/machineDetails.js')
-rw-r--r--client/js/controllers/home/machineDetails.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/js/controllers/home/machineDetails.js b/client/js/controllers/home/machineDetails.js
index 9ccb86b..752bea3 100644
--- a/client/js/controllers/home/machineDetails.js
+++ b/client/js/controllers/home/machineDetails.js
@@ -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);
}
}]);