diff options
Diffstat (limited to 'www')
| -rwxr-xr-x | www/js/DataModel.js | 24 | ||||
| -rw-r--r-- | www/js/MontageCtrl.js | 2 | ||||
| -rw-r--r-- | www/js/PortalLoginCtrl.js | 4 | ||||
| -rwxr-xr-x | www/js/app.js | 16 |
4 files changed, 23 insertions, 23 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index ef3cb193..2c7e640b 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -355,11 +355,11 @@ angular.module('zmApp.controllers') if (!positionFound) { if (loginData.currentMontageProfile != $translate.instant('kMontageDefaultProfile')) { monitors[m].Monitor.listDisplay = 'noshow'; - console.log("*************DISABLE NEW MONITOR"); + //console.log("*************DISABLE NEW MONITOR"); } else // make sure we add it because its show all view { monitors[m].Monitor.listDisplay = 'show'; - console.log("*************ENABLE NEW MONITOR"); + //console.log("*************ENABLE NEW MONITOR"); } @@ -487,7 +487,7 @@ angular.module('zmApp.controllers') }, setLatestBlogPostChecked: function (val) { - console.log(">>>>>>>>>>>> Setting blog date: " + val); + //console.log(">>>>>>>>>>>> Setting blog date: " + val); latestBlogPostChecked = val; localforage.setItem("latestBlogPostChecked", latestBlogPostChecked); }, @@ -1475,10 +1475,10 @@ angular.module('zmApp.controllers') var apiurl = loginData.apiurl; var myurl = apiurl + "/monitors.json"; //console.log ("API:"+myurl); - console.log ("gettign zms port"); + // console.log ("gettign zms port"); getZmsMultiPortSupport() .then(function (zmsPort) { - debug ("ZMS Multiport reported: "+zmsPort); + //debug ("ZMS Multiport reported: "+zmsPort); $http.get(myurl /*,{timeout:15000}*/ ) .success(function (data) { //console.log("HTTP success got " + JSON.stringify(data.monitors)); @@ -1542,14 +1542,14 @@ angular.module('zmApp.controllers') } st += s.host; - console.log ("STEP 1: ST="+st); + // console.log ("STEP 1: ST="+st); if (zmsPort <=0 ) { if (p.port || s.port) { st += (s.port ? ":" + s.port : ":" + p.port); streamingurl = st; - console.log ("STEP 2 no ZMS: ST="+st); + // console.log ("STEP 2 no ZMS: ST="+st); } } @@ -1559,7 +1559,7 @@ angular.module('zmApp.controllers') if (p.port || s.port) st += (s.port ? ":" + s.port : ":" + p.port); - console.log ("STEP 2: ST="+st); + // console.log ("STEP 2: ST="+st); } @@ -1569,17 +1569,17 @@ angular.module('zmApp.controllers') st += (s.path ? s.path : p.path); streamingurl += (s.path ? s.path : p.path); - console.log ("STEP 3: ST="+st); + //console.log ("STEP 3: ST="+st); - console.log ("----------STREAMING URL PARSED AS " + st); + //console.log ("----------STREAMING URL PARSED AS " + st); monitors[i].Monitor.streamingURL = st; monitors[i].Monitor.baseURL = baseurl; - console.log ("** Streaming="+st+" **base="+baseurl); + //console.log ("** Streaming="+st+" **base="+baseurl); // starting 1.30 we have fid=xxx mode to return images monitors[i].Monitor.imageMode = (versionCompare($rootScope.apiVersion, "1.30") == -1) ? "path" : "fid"; - debug("API " + $rootScope.apiVersion + ": Monitor " + monitors[i].Monitor.Id + " will use " + monitors[i].Monitor.imageMode + " for direct image access"); + // debug("API " + $rootScope.apiVersion + ": Monitor " + monitors[i].Monitor.Id + " will use " + monitors[i].Monitor.imageMode + " for direct image access"); //debug ("Streaming URL for Monitor " + monitors[i].Monitor.Id + " is " + monitors[i].Monitor.streamingURL ); //debug ("Base URL for Monitor " + monitors[i].Monitor.Id + " is " + monitors[i].Monitor.baseURL ); diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 269581b9..9c09b807 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -244,7 +244,7 @@ angular.module('zmApp.controllers') { var result = img.isLoaded ? 'loaded' : 'broken'; - NVRDataModel.debug('~~loaded image is ' + result + ' for ' + img.img.src); + // NVRDataModel.debug('~~loaded image is ' + result + ' for ' + img.img.src); // lay out every image if a pre-arranged position has not been found diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js index 4500ff9e..96e0690f 100644 --- a/www/js/PortalLoginCtrl.js +++ b/www/js/PortalLoginCtrl.js @@ -432,9 +432,9 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic EventServer.refresh(); if ($rootScope.tappedNotification == 0) { - console.log ("NOTIFICATION TAPPED INSIDE CHECK IS "+$rootScope.tappedNotification); + //console.log ("NOTIFICATION TAPPED INSIDE CHECK IS "+$rootScope.tappedNotification); var statetoGo = $rootScope.lastState ? $rootScope.lastState : 'app.montage'; - NVRDataModel.debug("logging state transition"); + // NVRDataModel.debug("logging state transition"); NVRDataModel.debug("Transitioning state to: " + statetoGo + " with param " + JSON.stringify($rootScope.lastStateParam)); diff --git a/www/js/app.js b/www/js/app.js index 39e17199..f01fd11f 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1442,7 +1442,7 @@ angular.module('zmApp', [ var requireLogin = toState.data.requireLogin; - console.log("HERE"); + //console.log("HERE"); if ($rootScope.apiValid == false && toState.name != 'invalidapi' && toState.data.requireLogin == true) { event.preventDefault(); @@ -1659,7 +1659,7 @@ angular.module('zmApp', [ }); function continueInitialInit() { - console.log("continueinit"); + // console.log("continueinit"); var pixelRatio = window.devicePixelRatio || 1; $rootScope.pixelRatio = pixelRatio; $rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width); @@ -1670,16 +1670,16 @@ angular.module('zmApp', [ $rootScope.$stateParams = $stateParams; if (window.cordova && window.cordova.plugins.Keyboard) { - console.log("no keyboard"); + // console.log("no keyboard"); // cordova.plugins.Keyboard.disableScroll(true); } if (window.StatusBar) { // org.apache.cordova.statusbar required - console.log("statusbar"); + // console.log("statusbar"); NVRDataModel.log("Updating statusbar"); StatusBar.styleDefault(); if ($rootScope.platformOS=='ios') { - console.log ("<<<<<<<<<<<<<<<< OVERLAY"); + // console.log ("<<<<<<<<<<<<<<<< OVERLAY"); StatusBar.overlaysWebView(false); } @@ -1687,12 +1687,12 @@ angular.module('zmApp', [ } if (window.cordova) { - console.log("Hiding splash"); + // console.log("Hiding splash"); $cordovaSplashscreen.hide(); - console.log("app version"); + // console.log("app version"); cordova.getAppVersion.getVersionNumber().then(function (version) { appVersion = version; NVRDataModel.log("App Version: " + appVersion); @@ -1700,7 +1700,7 @@ angular.module('zmApp', [ }); } - console.log("file logger"); + // console.log("file logger"); $fileLogger.checkFile().then(function (resp) { if (parseInt(resp.size) > zm.logFileMaxSize) { console.log("inside file logger"); |
