diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-02-17 04:01:30 -0500 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-02-17 04:01:30 -0500 |
| commit | 1b822c97b9d4c4f6588429ff06e0804d38177fef (patch) | |
| tree | 7ac9aa86e3b9fefe69818c08901eca793f1b5ff6 /www/js/StateCtrl.js | |
| parent | 59ff5a70dba91ab992f55d2cec26aff99a0a8a2f (diff) | |
console cleanups
Former-commit-id: 49f0a567d765d3ce1f580383248ee1e6e6a496ef
Diffstat (limited to 'www/js/StateCtrl.js')
| -rw-r--r-- | www/js/StateCtrl.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js index c6a9c9ba..97fd234a 100644 --- a/www/js/StateCtrl.js +++ b/www/js/StateCtrl.js @@ -63,7 +63,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' // state, that effectively overwrites current view power management needs //------------------------------------------------------------------------ $scope.$on('$ionicView.enter', function () { - console.log("**VIEW ** Montage Ctrl Entered"); + // console.log("**VIEW ** Montage Ctrl Entered"); ZMDataModel.setAwake(false); }); @@ -122,7 +122,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' $scope.myopt = { selectedState: "" }; - console.log(JSON.stringify($scope.allStateNames)); + //console.log(JSON.stringify($scope.allStateNames)); ZMDataModel.zmLog("List of custom states: " + JSON.stringify($scope.allStateNames)); $rootScope.zmPopup = $ionicPopup.show({ scope: $scope, @@ -152,7 +152,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' // It seems invoking a popup within a popup handler // causes issues. Doing this outside due to that reason $rootScope.zmPopup.then(function (res) { - console.log("GOT : " + JSON.stringify(res)); + // console.log("GOT : " + JSON.stringify(res)); if (res == "OK") { if ($scope.myopt.selectedState != "") controlZM($scope.myopt.selectedState); @@ -182,7 +182,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' }, function (error) { $scope.zmDisk = "unknown"; - console.log("ERROR:" + JSON.stringify(error)); + // console.log("ERROR:" + JSON.stringify(error)); ZMDataModel.zmLog("Error retrieving DiskStatus: " + JSON.stringify(error), "error"); } ); |
