diff options
Diffstat (limited to 'www/js/StateCtrl.js')
| -rw-r--r-- | www/js/StateCtrl.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js index 9d73a818..79b2490b 100644 --- a/www/js/StateCtrl.js +++ b/www/js/StateCtrl.js @@ -121,12 +121,12 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' }, function (error) { - if (error.status) // it seems to return error with status 0 if ok - { + //if (error.status) // it seems to return error with status 0 if ok + // { console.log("ERROR in Change State:"+JSON.stringify(error)); $scope.zmRun = 'undetermined'; $scope.color='color:orange;'; - } - else + // } + /*else { switch (str) { @@ -138,7 +138,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' } inProgress = 0; - } + }*/ } |
