diff options
| author | pliablepixels <pliablepixels@gmail.com> | 2016-03-08 13:25:42 -0500 |
|---|---|---|
| committer | pliablepixels <pliablepixels@gmail.com> | 2016-03-08 13:25:42 -0500 |
| commit | 4a51ac4d4836ff0e95816f7f62670224218a12ce (patch) | |
| tree | 98be4283c40248a8b4572109998125a8e2e9dbf8 /www/js/MontageHistoryCtrl.js | |
| parent | acdb897799d50a2abcfd98096a219ed9f15ce537 (diff) | |
#179 more fixes
Former-commit-id: 19c608a6b5bf64758b2615a3dc2241c624e7c14d
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
| -rw-r--r-- | www/js/MontageHistoryCtrl.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js index e30b65c8..0cf4462b 100644 --- a/www/js/MontageHistoryCtrl.js +++ b/www/js/MontageHistoryCtrl.js @@ -480,6 +480,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc $scope.showtimers = true; var curYear = new Date().getFullYear(); var readyToRun = false; + var i; $scope.sliderVal = { @@ -691,7 +692,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc // if (window.localStorage.getItem("montageArraySize") == undefined) { if (loginData.montageArraySize == '0') { - for (var i = 0; i < $scope.monitors.length; i++) { + for ( i = 0; i < $scope.monitors.length; i++) { $scope.monitorSize.push(ZMDataModel.getMontageSize()); $scope.scaleDirection.push(1); } @@ -1233,7 +1234,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc // make sure this is applied in scope digest to stop network pull // thats why we are doing it beforeLeave - for (var i=0; i<$scope.MontageMonitors.length; i++) + for ( i=0; i<$scope.MontageMonitors.length; i++) { if ($scope.MontageMonitors[i].Monitor.connKey !='' && $scope.MontageMonitors[i].Monitor.eventUrl !='img/noevent.png' && |
