summaryrefslogtreecommitdiff
path: root/www/js/MenuController.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-05-07 16:26:03 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-05-07 16:26:03 -0400
commit74e7cd80ba258dc49985b9bbc3258847d1310a8c (patch)
tree218dd6ed096f37a78333e2d8fbfdbefdff8dc89f /www/js/MenuController.js
parent0c1a83887147350dfce9c233bc12b6f72eee449a (diff)
#939 add nesting support.
Diffstat (limited to 'www/js/MenuController.js')
-rw-r--r--www/js/MenuController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/MenuController.js b/www/js/MenuController.js
index e7bf6c53..15715ffb 100644
--- a/www/js/MenuController.js
+++ b/www/js/MenuController.js
@@ -114,7 +114,7 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io
NVR.debug("**Switching to new server...");
-
+
NVR.clearZmsMultiPortSupport();
var zmServers = NVR.getServerGroups();
var loginData = zmServers[s];
@@ -198,6 +198,7 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io
zmAutoLogin.start();
// possible image digits changed between servers
NVR.getKeyConfigParams(0);
+ NVR.getZMGroups();
$rootScope.runMode = NVR.getBandwidth();
//console.log ("HERE");
var apiurl = loginData.apiurl + '/host/getVersion.json?'+$rootScope.authSession;