Autocomplete: Don't trigger a search when the left or right arrow keys are used.

Fixes #5289 - Autocomplete: ignore cursor left/right.
This commit is contained in:
Scott González 2010-03-20 14:58:38 -04:00
parent 22ba931c39
commit e70743cdcb

View File

@ -66,6 +66,8 @@ $.widget( "ui.autocomplete", {
self.element.val( self.term );
self.close( event );
break;
case keyCode.LEFT:
case keyCode.RIGHT:
case keyCode.SHIFT:
case keyCode.CONTROL:
case 18: