diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-14 07:50:52 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-09-14 07:50:52 -0500 |
| commit | a1c612aaaa8945aad94ee7012014690307ab9bef (patch) | |
| tree | fa29d2978532b82ae6c2a51868cb65d17713f6bc /www/js/MonitorCtrl.js | |
| parent | 45c42509dd21398d002ce1014a78564da3c6d765 (diff) | |
#329 - think I got it - monitors had cache on in the view
Former-commit-id: ac54a534cddc3e393760a5c21e078bea96b02bba
Diffstat (limited to 'www/js/MonitorCtrl.js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index fbfef879..c14e7e65 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -283,6 +283,10 @@ angular.module('zmApp.controllers') // console.log("**VIEW ** Monitor Ctrl Entered"); $scope.monitors = []; $scope.monitors = message; + + //console.log (">>>>>>>>>>>> MONITOR CTRL " + JSON.stringify($scope.monitors)); + + if ($scope.monitors.length == 0) { $rootScope.zmPopup = $ionicPopup.alert({ @@ -380,6 +384,8 @@ angular.module('zmApp.controllers') $scope.connKey = (Math.floor((Math.random() * 999999) + 1)).toString(); $scope.isControllable = controllable; + + $rootScope.modalRand = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111; // This is a modal to show the monitor footage |
