From: jzaefferer Date: Fri, 26 Mar 2010 16:40:46 +0000 (-0400) Subject: Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete X-Git-Tag: 1.8.1~5^2~62^2~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=40e36371173ba2304623fac3ab81ee2d63187649;p=jquery-ui.git Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete --- diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 83a8cf7a4..eb07b4a4e 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -70,7 +70,7 @@ $.widget( "ui.autocomplete", { case keyCode.RIGHT: case keyCode.SHIFT: case keyCode.CONTROL: - case 18: + case keyCode.ALT: // ignore metakeys (shift, ctrl, alt) break; default: diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index e0e1727ee..197a1aba9 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -70,6 +70,7 @@ $.ui = { }, keyCode: { + ALT: 18, BACKSPACE: 8, CAPS_LOCK: 20, COMMA: 188,