From e70743cdcb5cc4c87f123d48278e78d67865865f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sat, 20 Mar 2010 14:58:38 -0400 Subject: [PATCH] Autocomplete: Don't trigger a search when the left or right arrow keys are used. Fixes #5289 - Autocomplete: ignore cursor left/right. --- ui/jquery.ui.autocomplete.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index c5b78a6e3..60ba69f89 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/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: -- 2.39.5