summaryrefslogtreecommitdiff
path: root/www/js/MontageHistoryCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
-rw-r--r--www/js/MontageHistoryCtrl.js5
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' &&