From 5ecfcd0046717cf4447aa6d2eb1173520ecf33cb Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 25 Feb 2013 16:40:50 +0000 Subject: [PATCH] update keyboard controller --- source/Ox.UI/js/Core/Keyboard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Core/Keyboard.js b/source/Ox.UI/js/Core/Keyboard.js index 905d7c2b..4305ca1e 100644 --- a/source/Ox.UI/js/Core/Keyboard.js +++ b/source/Ox.UI/js/Core/Keyboard.js @@ -34,6 +34,7 @@ Ox.Keyboard = (function() { if ( focused === null || ( !$focused.hasClass('OxInput') + && !$focused.hasClass('OxEditableContent') && !$focused.hasClass('OxAutocompleteMenu') ) ) { @@ -54,6 +55,7 @@ Ox.Keyboard = (function() { 'backspace', 'down', 'left', 'right', 'space', 'up' ].indexOf(key) > -1 && !$focused.hasClass('OxInput') + && !$focused.hasClass('OxEditableContent') && !$focused.hasClass('OxAutocompleteMenu') ) { ret = false;