diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-10-30 13:38:18 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-10-30 13:38:18 -0400 |
| commit | 20e35612d7577fb8616bf95cdeacdbc8c8b6a290 (patch) | |
| tree | 4e3d91806431956abf4a6c189b8b5cc75e0dd28c | |
| parent | 4ffc9dc9963f24dfed6c6a13b7c10a8fef17c7c8 (diff) | |
don't waste a N/W call with ZM_EVENT_DIGITS just make it 5
| -rw-r--r-- | www/js/NVR.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js index 71d58df1..0e057c57 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -2420,7 +2420,11 @@ angular.module('zmApp.controllers') getKeyConfigParams: function (forceReload) { var d = $q.defer(); + configParams.ZM_EVENT_IMAGE_DIGITS = 5; + d.resolve(configParams.ZM_EVENT_IMAGE_DIGITS); + return (d.promise); + /* if (forceReload == 1 || configParams.ZM_EVENT_IMAGE_DIGITS == '-1') { var apiurl = loginData.apiurl; var myurl = apiurl + '/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json?' + $rootScope.authSession; @@ -2448,7 +2452,7 @@ angular.module('zmApp.controllers') return (d.promise); } return (d.promise); - + */ }, //-------------------------------------------------------------------------- |
