From db03aaedefed847d7026b0964a487e3ee26f1bc1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 31 May 2019 13:18:25 -0400 Subject: handle case when auth is specified but it is actually off --- www/js/WizardCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/WizardCtrl.js') diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index 86c4cbe9..726cc6f4 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -131,8 +131,9 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ if (tail) t = tail; //$ionicLoading.show({template: 'trying ' + urls[0].server}); NVR.log("zmWizard test.." + urls[0] + t); - return $http.get(urls[0] + t).then(function () { + return $http.get(urls[0] + t).then(function (succ) { NVR.log("Success: on " + urls[0] + t); + //NVR.log (JSON.stringify(succ)); //$ionicLoading.hide(); d.resolve(urls[0]); return d.promise; -- cgit v1.2.3