From 88e2a7d500ec90b32215cee0a5edb250b87a8ad9 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Wed, 16 May 2012 15:32:46 -0700 Subject: [PATCH] Renamed deferred handler. --- guacamole-common-js/src/main/resources/keyboard.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guacamole-common-js/src/main/resources/keyboard.js b/guacamole-common-js/src/main/resources/keyboard.js index fe2e777b3..82a85c52c 100644 --- a/guacamole-common-js/src/main/resources/keyboard.js +++ b/guacamole-common-js/src/main/resources/keyboard.js @@ -363,7 +363,7 @@ Guacamole.Keyboard = function(element) { var keydown_keysym = null; var keypress_keysym = null; - function fireKeyPress() { + function handleKeyEvents() { // Prefer keysym from keypress var keysym = keypress_keysym || keydown_keysym; @@ -468,7 +468,7 @@ Guacamole.Keyboard = function(element) { // Defer handling of event until after any other pending // key events. if (!deferred_keypress) - deferred_keypress = window.setTimeout(fireKeyPress, 0); + deferred_keypress = window.setTimeout(handleKeyEvents, 0); }; @@ -496,7 +496,7 @@ Guacamole.Keyboard = function(element) { // Defer handling of event until after any other pending // key events. if (!deferred_keypress) - deferred_keypress = window.setTimeout(fireKeyPress, 0); + deferred_keypress = window.setTimeout(handleKeyEvents, 0); };