summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-16 10:48:21 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-16 10:48:21 -0400
commitf2f6040847b53222e4ca18334fc0978853c4b345 (patch)
treeb1eef58a13b8882cea42c52cfb7a978951df3d64 /www/js/NVR.js
parentdffe5d2c0b7969a0ce5f7af4a3719b43c0d1320f (diff)
#817 reduce some logs, fix return without promise error
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 0c48330d..3a9e2f25 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -791,31 +791,31 @@ angular.module('zmApp.controllers')
}
if (typeof loginData.EHpackeryPositions == 'undefined') {
- debug("EHpackeryPositions does not exist. Setting to empty");
+ //debug("EHpackeryPositions does not exist. Setting to empty");
loginData.EHpackeryPositions = "";
}
if (typeof loginData.packerySizes == 'undefined') {
- debug("packerySizes does not exist. Setting to empty");
+ //debug("packerySizes does not exist. Setting to empty");
loginData.packerySizes = "";
}
if (typeof loginData.use24hr == 'undefined') {
- debug("use24hr does not exist. Setting to false");
+ //debug("use24hr does not exist. Setting to false");
loginData.use24hr = false;
}
if (typeof timelineModalGraphType == 'undefined') {
- debug("timeline graph type not set. Setting to all");
+ //debug("timeline graph type not set. Setting to all");
loginData.timelineModalGraphType = $translate.instant('kGraphAll');
//console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" + loginData.timelineModalGraphType);
}
if (typeof loginData.resumeDelay == 'undefined') {
- debug("resumeDelay does not exist. Setting to 0");
+ //debug("resumeDelay does not exist. Setting to 0");
loginData.resumeDelay = 0;
}
@@ -1879,7 +1879,7 @@ angular.module('zmApp.controllers')
$http.get(apiurl)
.then(function (success) {
if (success.data.version) {
- console.log("API VERSION RETURNED: " + JSON.stringify(success));
+ //console.log("API VERSION RETURNED: " + JSON.stringify(success));
$rootScope.apiValid = true;
if (versionCompare(success.data.version, '1.32.0') != -1) {