mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01: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");
|
var connection = new GuacamoleService.Connection("vnc", "Test connection");
|
||||||
for (var i=0; i<10; i++) {
|
for (var i=0; i<10; i++) {
|
||||||
|
|
||||||
var conn = new GuacUI.Connection(connection);
|
(function() {
|
||||||
connections.appendChild(conn.getElement());
|
var conn = new GuacUI.EditableConnection(connection);
|
||||||
|
connections.appendChild(conn.getElement());
|
||||||
|
conn.getElement().onclick = function() {
|
||||||
|
conn.setEditMode(!conn.edit);
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var user = new GuacUI.EditableUser("testuser");
|
var user = new GuacUI.EditableUser("testuser");
|
||||||
|
Reference in New Issue
Block a user