summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-03-18 14:35:57 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-03-18 14:35:57 -0400
commit0948cb4d472784946a6d54e4797d20183cdcc799 (patch)
tree2c4752351647aa39a74dbdaf1c10e7fb49fe7b83 /www/js/DataModel.js
parent5f9ebde8b9f0cb91e087ca829489ea5ff2af18ba (diff)
#133 - don't know what the hell is going on, except this helps
Former-commit-id: f6fee6f649dab2763ebbf96ca74e7edf8f55b0f2
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index e01ed14e..7207df83 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -245,7 +245,8 @@ angular.module('zmApp.controllers')
loginData = angular.copy(serverGroupList[firstReachableUrl.server]);
- $localstorage.set("defaultServerName",firstReachableUrl.server);
+ setLogin(loginData);
+ //$localstorage.set("defaultServerName",firstReachableUrl.server);
zmLog ("Based on reachability, first serverName will be " + firstReachableUrl.server);
console.log ("set login Data to " + JSON.stringify(loginData));