summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-10-20 09:23:57 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-10-20 09:23:57 -0400
commit53f673e94f2097e9145649437f751a740688f7f7 (patch)
treead16d379fc2a12d7fee7376a7c8898cb3c2a4cf1 /www/js
parent0bfbc9753d456b3e02c061c01fe767b9872ec726 (diff)
#997 compute rowHeight for all monitors
Diffstat (limited to 'www/js')
-rw-r--r--www/js/EventCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 409ecae6..b152925d 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -137,7 +137,7 @@ angular.module('zmApp.controllers')
var tempMonHeight = 0;
monitorHeight = 0;
for (var i=0; i < $scope.monitors.length; i++) {
- if ($scope.monitors[i] != undefined && $scope.monitors[i].Monitor.isChecked) {
+ if ($scope.monitors[i] != undefined) {
var mw = $scope.monitors[i].Monitor.Width;
var mh = $scope.monitors[i].Monitor.Height;
var mo = $scope.monitors[i].Monitor.Orientation;
@@ -163,6 +163,7 @@ angular.module('zmApp.controllers')
}
}
eventRowHeight = rowHeight;
+ console.log ('*************************'+eventRowHeight);
}
//we come here is TZ is updated after the view loads