For the purposes of keyhandling, consider textareas & buttons inputs too

This commit is contained in:
Nathan Gray 2014-03-03 19:00:25 +00:00
parent e9b5dfde4d
commit 6b86eb9c0f

View File

@ -127,7 +127,7 @@ function _egw_nodeIsInInput(_node)
if ((_node != null) && (_node != document)) if ((_node != null) && (_node != document))
{ {
var tagName = _node.tagName.toLowerCase(); var tagName = _node.tagName.toLowerCase();
if (tagName == "input" || tagName == "select") if (tagName == "input" || tagName == "select" || tagName == 'textarea' || tagName == 'button')
{ {
return true; return true;
} }