Grid and nextmatch aoi now reset the input element focus once a row is clicked

This commit is contained in:
Andreas Stöckel
2011-06-16 20:43:33 +00:00
parent 41c4d4cee4
commit f3ccd96f03
4 changed files with 40 additions and 0 deletions

View File

@ -45,6 +45,10 @@ function nextmatchRowAOI(_node, _selectMode)
// Now append some action code to the node
selectHandler = function(e) {
// Reset the focus so that keyboard navigation will work properly
// after the element has been clicked
egwUnfocus();
// Reset the prevent selection code (in order to allow wanted
// selection of text)
_node.onselectstart = null;