From c6ee34ac0f54834670395e9640fa6b479acadb74 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Tue, 3 Nov 2015 10:35:32 -0500 Subject: disabled disk status #65 --- www/js/StateCtrl.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'www/js/StateCtrl.js') diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js index bfcd1303..c6a9c9ba 100644 --- a/www/js/StateCtrl.js +++ b/www/js/StateCtrl.js @@ -48,10 +48,13 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl', ['$ionicPopup' ZMDataModel.zmDebug("invoking CurrentState..."); getCurrentState(); }, 4000); -$timeout(function () { - ZMDataModel.zmDebug("invoking DiskStatus..."); - getDiskStatus(); - }, 6000); + + /* + $timeout(function () { + ZMDataModel.zmDebug("invoking DiskStatus..."); + getDiskStatus(); + }, 6000); + */ //------------------------------------------------------------------------- // Lets make sure we set screen dim properly as we enter // The problem is we enter other states before we leave previous states @@ -363,7 +366,7 @@ $timeout(function () { getRunStatus(); $timeout (getLoadStatus,2000); $timeout (getCurrentState,4000); - $timeout (getDiskStatus,6000); + //$timeout (getDiskStatus,6000); $scope.$broadcast('scroll.refreshComplete'); }; -- cgit v1.2.3