summaryrefslogtreecommitdiff
path: root/www/js/WizardCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-05-31 13:18:25 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-05-31 13:18:25 -0400
commitdb03aaedefed847d7026b0964a487e3ee26f1bc1 (patch)
treeda0418ed3a41c5ac27c8b5b252d821263ce725ec /www/js/WizardCtrl.js
parent2e44ed65be3ad42190af1e590a30ac2866ef65c4 (diff)
handle case when auth is specified but it is actually off
Diffstat (limited to 'www/js/WizardCtrl.js')
-rw-r--r--www/js/WizardCtrl.js3
1 files changed, 2 insertions, 1 deletions
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;