diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-12-10 10:45:08 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-12-10 10:45:08 -0500 |
| commit | 53ce2196f05162cd0bc49e900e26738a6c3ac34b (patch) | |
| tree | 891a0e3f5ecc2f7385a8d6327a81d0d519a944a0 /www | |
| parent | 9faae7edf7d595f28848dbb1ff22f913b8e49cec (diff) | |
#872 ZM 1.33.15 added "ROTATE_" prefixes to orientation. Remove if present.
Diffstat (limited to 'www')
| -rw-r--r-- | www/js/NVR.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js index 7d1512ef..0572d3ab 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -2773,7 +2773,8 @@ angular.module('zmApp.controllers') for (var i = 0; i < monitors.length; i++) { - // make them all show for now + // zm 1.33.15 prefixes 'ROTATE_' to orientation + monitors[i].Monitor.Orientation = monitors[i].Monitor.Orientation.replace('ROTATE_',''); var recordingType = ''; if (monitors[i].Monitor.SaveJPEGs > 0) { @@ -2955,6 +2956,8 @@ angular.module('zmApp.controllers') for (var i = 0; i < monitors.length; i++) { //monitors[i].Monitor.listDisplay = 'show'; + // zm 1.33.15 prefixes 'ROTATE_' to orientation + monitors[i].Monitor.Orientation = monitors[i].Monitor.Orientation.replace('ROTATE_',''); monitors[i].Monitor.isAlarmed = false; monitors[i].Monitor.connKey = (Math.floor((Math.random() * 999999) + 1)).toString(); monitors[i].Monitor.rndKey = (Math.floor((Math.random() * 999999) + 1)).toString(); |
