summaryrefslogtreecommitdiff
path: root/www/js/MonitorCtrl.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-04 13:21:51 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-04 13:21:51 -0500
commit5f4a61a45a61716308b2b214155bc08c657069ff (patch)
tree7aed87a1b76f9860ebc27b114c3635cb84d84816 /www/js/MonitorCtrl.js
parentdb2335113e5c6f1265d8bb103687928d55e57df6 (diff)
showing monitor name in live view
Diffstat (limited to 'www/js/MonitorCtrl.js')
-rw-r--r--www/js/MonitorCtrl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js
index c996b8e8..60b9f0cb 100644
--- a/www/js/MonitorCtrl.js
+++ b/www/js/MonitorCtrl.js
@@ -270,6 +270,7 @@ angular.module('zmApp.controllers')
$scope.monitorId = mid;
+ $scope.monitorName = ZMDataModel.getMonitorName(mid);
$scope.LoginData = ZMDataModel.getLogin();
$scope.rand = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111;
$rootScope.rand = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111;