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:
nathan 2022-07-26 14:23:55 -06:00
parent 17012f6f25
commit 02ac53ead9

View File

@ -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;
}