Expand root if shown.

This commit is contained in:
Michael Jumper
2013-08-15 02:58:57 -07:00
parent 738f3397b7
commit 9de0d7a299

View File

@@ -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