From 07a4ec6637f38d20a8ba6297423ce1315f7932b4 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 21 Apr 2014 18:41:28 -0700 Subject: [PATCH] GUAC-324: Fix override of keyboard events (space was not registering when event allowed through to browser). --- guacamole-common-js/src/main/webapp/modules/Keyboard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole-common-js/src/main/webapp/modules/Keyboard.js b/guacamole-common-js/src/main/webapp/modules/Keyboard.js index abf71accd..7ca539e6e 100644 --- a/guacamole-common-js/src/main/webapp/modules/Keyboard.js +++ b/guacamole-common-js/src/main/webapp/modules/Keyboard.js @@ -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; // Ignore any unknown key events - if (!keynum && !identifier) { + if (!keynum) { e.preventDefault(); return; }