mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
Client now handles tunnel errors.
This commit is contained in:
@@ -44,6 +44,11 @@ Guacamole.Client = function(display, tunnel) {
|
||||
|
||||
tunnel.oninstruction = doInstruction;
|
||||
|
||||
tunnel.onerror = function(message) {
|
||||
if (guac_client.onerror)
|
||||
guac_client.onerror(message);
|
||||
};
|
||||
|
||||
// Display must be relatively positioned for mouse to be handled properly
|
||||
display.style.position = "relative";
|
||||
|
||||
|
Reference in New Issue
Block a user