diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-21 21:08:31 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-21 21:08:31 -0400 |
| commit | cc68fd22ee02d68b9ac200dd3f02e329ace54314 (patch) | |
| tree | 05b89df637735fc7d992b015a8dd2814c76dacd4 /www/js/WizardCtrl.js | |
| parent | 75d840bf61ae0ff8c87aaa50ec9c2ef8863508ad (diff) | |
nits
Diffstat (limited to 'www/js/WizardCtrl.js')
| -rw-r--r-- | www/js/WizardCtrl.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index 20029ed1..6ce8ea1b 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -138,10 +138,12 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ // this is actually a success - I might get empty status // or something if (err.status < 300) { - NVRDataModel.log("I am taking this as a cgi-bin success - " + urls[0]); + NVRDataModel.log("A 2xx is a success, I think - " + urls[0]); d.resolve(urls[0]); return d.promise; } + + return findFirstReachableUrl(urls.slice(1), tail); }); } else { @@ -392,6 +394,10 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ // tries to log into the portal and then discover api and cgi-bin //-------------------------------------------------------------------------- + function validateDataNewAPI() { + + } + function validateData() { $rootScope.authSession = 'undefined'; $rootScope.zmCookie = ''; |
