nicer solution for checking the action

This commit is contained in:
Hendrik Hofstadt
2015-02-09 20:06:28 +01:00
parent dabb1926a5
commit 8abb445bd4
2 changed files with 3 additions and 3 deletions
@@ -26,7 +26,7 @@ function($scope, Container, Settings, Messages, ViewSpinner) {
};
angular.forEach(items, function(c) {
if (c.Checked) {
if(msg === "Started"){
if(action === Container.start){
Container.get({id: c.Id}, function(d) {
c = d;
counter = counter + 1;