* space will now select an item in the autocomplete
This commit is contained in:
r888888888
2013-06-21 11:36:23 -07:00
parent c85f31f2a5
commit 451552ea7f
3 changed files with 14 additions and 2 deletions

View File

@@ -106,6 +106,7 @@ $.widget( "ui.autocomplete", {
suppressKeyPress = true;
this._keyEvent( "next", event );
break;
case keyCode.SPACE:
case keyCode.ENTER:
case keyCode.NUMPAD_ENTER:
// when menu is open and has focus