mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
#268: Rely on JavaScript for connections as well.
This commit is contained in:
@@ -81,8 +81,13 @@
|
||||
var connection = new GuacamoleService.Connection("vnc", "Test connection");
|
||||
for (var i=0; i<10; i++) {
|
||||
|
||||
var conn = new GuacUI.Connection(connection);
|
||||
connections.appendChild(conn.getElement());
|
||||
(function() {
|
||||
var conn = new GuacUI.EditableConnection(connection);
|
||||
connections.appendChild(conn.getElement());
|
||||
conn.getElement().onclick = function() {
|
||||
conn.setEditMode(!conn.edit);
|
||||
};
|
||||
})();
|
||||
|
||||
(function() {
|
||||
var user = new GuacUI.EditableUser("testuser");
|
||||
|
Reference in New Issue
Block a user