Client now handles tunnel errors.

This commit is contained in:
Michael Jumper committed 2011-07-13 00:17:34 -07:00
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";