From 81ec89ba112791973caddc0d21c691e7e953a296 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Fri, 6 May 2016 05:58:14 -0400 Subject: if you cancel portal login,kill http requests that are pending and get out of reachability recursion Former-commit-id: 06c00c92f4cefaad9595ab244a7427038eed6dd3 --- www/js/DataModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 53a79ecd..f46508f3 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -324,7 +324,7 @@ angular.module('zmApp.controllers') function findFirstReachableUrl (urls) { - if (urls.length > 0) + if (urls.length > 0 && $rootScope.userCancelledAuth != true) { $ionicLoading.show({template: 'trying ' + urls[0].server}); zmLog ("Reachability test.." + urls[0].url); -- cgit v1.2.3