mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-11 23:47:42 +00:00
Add support for connecting to groups.
This commit is contained in:
@@ -197,6 +197,15 @@ GuacamoleRootUI.reset = function() {
|
||||
GuacUI.openConnection(connection.id, GuacamoleRootUI.parameters);
|
||||
};
|
||||
|
||||
// Open connection groups when clicked
|
||||
group_view.ongroupclick = function(group) {
|
||||
|
||||
// Connect if balancing
|
||||
if (group.type === GuacamoleService.ConnectionGroup.Type.BALANCING)
|
||||
GuacUI.openConnectionGroup(group.id, GuacamoleRootUI.parameters);
|
||||
|
||||
};
|
||||
|
||||
// Save all connections for later reference
|
||||
GuacamoleRootUI.connections = group_view.connections;
|
||||
|
||||
|
Reference in New Issue
Block a user