From e4a4af16734a7b63bf23b27ce0c6041276e6ecc3 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 11 Apr 2018 12:04:50 -0400 Subject: #606 more cleanups --- www/js/MonitorCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/MonitorCtrl.js') diff --git a/www/js/MonitorCtrl.js b/www/js/MonitorCtrl.js index eca22d15..928a15b9 100644 --- a/www/js/MonitorCtrl.js +++ b/www/js/MonitorCtrl.js @@ -374,6 +374,7 @@ angular.module('zmApp.controllers') NVRDataModel.debug("MonitorCtrl:Open Monitor Modal with monitor Id=" + mid + " and Controllable:" + controllable + " with control ID:" + controlid); + $scope.controlURL = monitor.Monitor.controlURL; $scope.monitor = monitor; //console.log (">>>>>>>>>>>> MONITOR CRL " + $scope.monitor. $scope.monitorId = mid; @@ -402,7 +403,7 @@ angular.module('zmApp.controllers') $scope.presetOn = false; - $scope.connKey = (Math.floor((Math.random() * 999999) + 1)).toString(); + $scope.isControllable = controllable; $rootScope.modalRand = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111; -- cgit v1.2.3