mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
Populate group type field.
This commit is contained in:
@@ -1072,8 +1072,11 @@ GuacAdmin.ConnectionGroupEditor = function(group, parameters) {
|
|||||||
bal_type.textContent = "Balancing";
|
bal_type.textContent = "Balancing";
|
||||||
bal_type.value = "balancing";
|
bal_type.value = "balancing";
|
||||||
|
|
||||||
// Default to organizational
|
// Read type from group
|
||||||
type_field.value = "organizational";
|
if (group.type === GuacamoleService.ConnectionGroup.Type.ORGANIZATIONAL)
|
||||||
|
type_field.value = "organizational";
|
||||||
|
else if (group.type === GuacamoleService.ConnectionGroup.Type.BALANCING)
|
||||||
|
type_field.value = "balancing";
|
||||||
|
|
||||||
// Add save button
|
// Add save button
|
||||||
var save_button = GuacUI.createChildElement(dialog.getFooter(), "button");
|
var save_button = GuacUI.createChildElement(dialog.getFooter(), "button");
|
||||||
|
Reference in New Issue
Block a user