Client now handles tunnel errors.
This commit is contained in:
1 parent
0452f36f04
commit
b567591395
2 files changed
+14
-3
No files matched your search
@@ -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