summaryrefslogtreecommitdiff
path: root/www/js/StateCtrl.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-05-13 14:09:57 -0400
committerARC <arjunrc@gmail.com>2015-05-13 14:09:57 -0400
commit5a3af8dab3f4739592ad5505f7ed858ac7280cd9 (patch)
tree8398d8c6d7b5da3cb380ac66451be568d955cd4f /www/js/StateCtrl.js
parentefed1a2509347eab5b52c118b43568ad8d200e46 (diff)
removed http timeout for start/stop/restart APIs - as they take more time to complete
Diffstat (limited to 'www/js/StateCtrl.js')
-rw-r--r--www/js/StateCtrl.js10
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;
- }
+ }*/
}