mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
Fix unable to type a space in a searchbox
egw_keymanager did not recognize et2-searchbox as an input node it should ignore, so was grabbing every keystroke on every select / search / textbox
This commit is contained in:
parent
17012f6f25
commit
02ac53ead9
@ -57,7 +57,8 @@ function _egw_nodeIsInInput(_node)
|
||||
if ((_node != null) && (_node != document))
|
||||
{
|
||||
var tagName = _node.tagName.toLowerCase();
|
||||
if (tagName == "input" || tagName == "select" || tagName == 'textarea' || tagName == 'button')
|
||||
if (tagName == "input" || tagName == "select" || tagName == 'textarea' || tagName == 'button' ||
|
||||
['et2-textbox', 'et2-number', 'et2-searchbox', 'et2-select', 'et2-textarea', 'et2-button'].indexOf(tagName) != -1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user