Skip to content
Permalink
Browse files

Autocomplete: Don't trigger a search when the left or right arrow key…

…s are used.

Fixes #5289 - Autocomplete: ignore cursor left/right.
  • Loading branch information
scottgonzalez committed Mar 20, 2010
1 parent 22ba931 commit e70743cdcb5cc4c87f123d48278e78d67865865f
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.autocomplete.js
@@ -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:

0 comments on commit e70743c

Please sign in to comment.
You can’t perform that action at this time.