From e7de54bdf46a2a34aa2c92c5d802a9d47ed53172 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 6 Aug 2013 15:23:58 -0700 Subject: [PATCH] Handle connection paths, add groups/connections as necessary when building root UI connection list. --- guacamole/src/main/webapp/scripts/root-ui.js | 53 +++++++++++++++++--- 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/guacamole/src/main/webapp/scripts/root-ui.js b/guacamole/src/main/webapp/scripts/root-ui.js index 80605ec70..7e019bab2 100644 --- a/guacamole/src/main/webapp/scripts/root-ui.js +++ b/guacamole/src/main/webapp/scripts/root-ui.js @@ -171,6 +171,9 @@ GuacamoleRootUI.reset = function() { } + // Associative array of all existing groups + var groups = {}; + // Create pager for connections var connection_pager = new GuacUI.Pager(GuacamoleRootUI.sections.all_connections); connection_pager.page_capacity = 20; @@ -179,18 +182,54 @@ GuacamoleRootUI.reset = function() { for (var i=0; i