GUAC-324: Fix override of keyboard events (space was not registering when event allowed through to browser).

This commit is contained in:
Michael Jumper
2014-04-21 18:41:28 -07:00
parent 5e26e272c8
commit 07a4ec6637

View File

@@ -401,7 +401,7 @@ Guacamole.Keyboard = function(element) {
} }
} }
return false; return true;
} }
@@ -492,7 +492,7 @@ Guacamole.Keyboard = function(element) {
var location = e.location || e.keyLocation || 0; var location = e.location || e.keyLocation || 0;
// Ignore any unknown key events // Ignore any unknown key events
if (!keynum && !identifier) { if (!keynum) {
e.preventDefault(); e.preventDefault();
return; return;
} }