summaryrefslogtreecommitdiff
path: root/www/js/StateCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/StateCtrl.js')
-rw-r--r--www/js/StateCtrl.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/StateCtrl.js b/www/js/StateCtrl.js
index 701f0029..a53b7911 100644
--- a/www/js/StateCtrl.js
+++ b/www/js/StateCtrl.js
@@ -5,8 +5,8 @@
// controller for State View
angular.module('zmApp.controllers').controller('zmApp.StateCtrl',
- ['$ionicPopup', '$scope', 'zm', 'ZMDataModel', '$ionicSideMenuDelegate', '$ionicLoading', '$ionicModal', '$state', '$http', '$rootScope','$timeout',function (
- $ionicPopup, $scope, zm, ZMDataModel, $ionicSideMenuDelegate, $ionicLoading, $ionicModal, $state, $http, $rootScope, $timeout) {
+ ['$ionicPopup', '$scope', 'zm', 'ZMDataModel', '$ionicSideMenuDelegate', '$ionicLoading', '$ionicModal', '$state', '$http', '$rootScope','$timeout',function (
+ $ionicPopup, $scope, zm, ZMDataModel, $ionicSideMenuDelegate, $ionicLoading, $ionicModal, $state, $http, $rootScope, $timeout) {
//----------------------------------------------------------------------
// Controller main
@@ -34,6 +34,7 @@ angular.module('zmApp.controllers').controller('zmApp.StateCtrl',
getRunStatus();
// Let's stagger this by 500ms each to see if Chrome lets these through
+ // This may also help if your Apache is not configured to let multiple connections through
$timeout( function() {ZMDataModel.zmDebug("invoking LoadStatus...");getLoadStatus();},500);
$timeout( function() {ZMDataModel.zmDebug("invoking DiskStatus...");getDiskStatus();},1000);