From aae6348daeab5b4580f681271f38adc5687d2ab5 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 30 Nov 2018 09:27:24 -0500 Subject: fix android switch profile log --- www/js/DataModel.js | 2 +- www/js/MenuController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 10883964..d7bffdb1 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -435,7 +435,7 @@ angular.module('zmApp.controllers') debug("DataModel: Getting auth from " + myurl + " with mid=" + mid); $http.get(myurl) .then(function (success) { - // console.log ("**** RESULT IS " + JSON.stringify(success)); + //console.log ("**** RESULT IS " + JSON.stringify(success)); // Look for auth= var auth = success.data.match("auth=(.*?)&"); if (auth && (auth[1] != null)) { diff --git a/www/js/MenuController.js b/www/js/MenuController.js index db446386..be918eb1 100644 --- a/www/js/MenuController.js +++ b/www/js/MenuController.js @@ -102,7 +102,7 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io }); if ($rootScope.platformOS == 'android') { - log (">>> Android: enabling inline image view for self signed certs"); + NVRDataModel.log (">>> Android: enabling inline image view for self signed certs"); cordova.plugins.certificates.trustUnsecureCerts(true); } -- cgit v1.2.3