diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-08-21 11:09:08 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-08-21 11:09:08 -0400 |
| commit | 05638adb21a0f13715e2f1390c4b85e972779e9a (patch) | |
| tree | 85c6a68f06616181edff3b5f580dfe507552ff27 /www/js/MontageCtrl.js | |
| parent | 26fa7692c30e1887079d067c782984f745edf750 (diff) | |
ionic content banner is being used for useful status displays
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 1620472d..c8490627 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -13,6 +13,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', ' console.log("******** HAVE ALL MONITORS"); $scope.monitors = message; + ZMDataModel.zmLog ("Inside Montage Ctrl:We found " + $scope.monitors.length + " monitors"); document.addEventListener("pause", onPause, false); document.addEventListener("resume", onResume, false); @@ -595,7 +596,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', ' } else // modal is active { - $rootScope.modalRand = Math.floor((Math.random() * 100000) + 1); + // $rootScope.modalRand = Math.floor((Math.random() * 100000) + 1); } @@ -706,9 +707,16 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', ' // $rootScope.rand = Math.floor((Math.random() * 100000) + 1); }); - + $scope.reloadView = function() + { + $rootScope.rand = Math.floor((Math.random() * 100000) + 1); + ZMDataModel.zmLog ("User action: image reload " + $rootScope.rand); + }; $scope.doRefresh = function () { + + + console.log("***Pull to Refresh, recomputing Rand"); ZMDataModel.zmLog ("Reloading view for montage view, recomputing rand"); $rootScope.rand = Math.floor((Math.random() * 100000) + 1); |
