summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json4
-rw-r--r--www/js/DataModel.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index 564cad0d..2a23f8df 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "zmninjapro",
"description": "Home security mobile app for ZoneMinder",
- "version": "1.3.037",
+ "version":"1.3.037",
"displayName": "zmNinja",
"author": "Pliable Pixels",
"license": "custom see LICENSE.md",
@@ -174,4 +174,4 @@
]
}
}
-} \ No newline at end of file
+}
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index 5e1c6539..ba9417f5 100644
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -805,7 +805,7 @@ angular.module('zmApp.controllers')
var keepBuilding = true;
while (keepBuilding == true && tLd) {
- if (arrayObjectIndexOf(chainURLs, tLd.url + "/index.php", "url") == -1 && tLd.url !== undefined && tLd.url != '') // no loop
+ if (arrayObjectIndexOf(chainURLs, tLd.url + "/index.php?view=console", "url") == -1 && tLd.url !== undefined && tLd.url != '') // no loop
{
log("Adding to chain stack: " + tLd.serverName + ">" + tLd.url);
chainURLs.push({