From 9de0d7a299e28153962921f7822af2095c32d63e Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 15 Aug 2013 02:58:57 -0700 Subject: [PATCH] Expand root if shown. --- guacamole/src/main/webapp/scripts/guac-ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guacamole/src/main/webapp/scripts/guac-ui.js b/guacamole/src/main/webapp/scripts/guac-ui.js index 894651158..1071ae8e9 100644 --- a/guacamole/src/main/webapp/scripts/guac-ui.js +++ b/guacamole/src/main/webapp/scripts/guac-ui.js @@ -1303,8 +1303,10 @@ GuacUI.GroupView = function(root_group, flags) { } // If requested, include the root group as an item - if (show_root) + if (show_root) { addGroup(root_group, pager.addElement); + list_groups[root_group.id].expand(); + } // Otherwise, only add contents of root group else