diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-11 12:04:50 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-11 12:04:50 -0400 |
| commit | e4a4af16734a7b63bf23b27ce0c6041276e6ecc3 (patch) | |
| tree | 11ba20b611300a87656041e6b201053c1c92768f /www/js/MonitorCtrl.js | |
| parent | d7c5302f66c905177cf8314ffca121a0593328cd (diff) | |
#606 more cleanups
Diffstat (limited to 'www/js/MonitorCtrl.js')
| -rw-r--r-- | www/js/MonitorCtrl.js | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
