summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-03-26 06:55:34 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-03-26 06:55:34 -0400
commit1147a2971878ceb13bfa695b8ef01a6303845003 (patch)
treee9b370f24a714e04e9c375f6e6cf8c5985a50736 /www/js
parenta319c990f817b16904f02e8af93ee4253246c174 (diff)
url fix
Former-commit-id: cb51ad0424b98a460e3fe3f35847bc652b30737c
Diffstat (limited to 'www/js')
-rw-r--r--www/js/DataModel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 19333fa5..faf6b7f6 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -215,10 +215,10 @@ angular.module('zmApp.controllers')
var keepBuilding = true;
while (keepBuilding==true && tLd)
{
- if (arrayObjectIndexOf(chainURLs,tLd.url,"url") == -1 ) // no loop
+ if (arrayObjectIndexOf(chainURLs,tLd.url+"/index.php","url") == -1 ) // no loop
{
zmLog ("Adding to chain stack: " + tLd.serverName + ">"+tLd.url);
- chainURLs.push ({url:tLd.url, server:tLd.serverName});
+ chainURLs.push ({url:tLd.url+"/index.php", server:tLd.serverName});
zmLog ("Fallback of " + tLd.serverName + " is " + tLd.fallbackConfiguration);
if (tLd.fallbackConfiguration)
{