diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-26 12:40:46 -0400 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-26 12:40:46 -0400 |
commit | 40e36371173ba2304623fac3ab81ee2d63187649 (patch) | |
tree | 84777986af153a01ce5c83699d1121bed328ac57 | |
parent | 56a3d4cbff390dcca57d33a9e23325d76f7300f2 (diff) | |
download | jquery-ui-40e36371173ba2304623fac3ab81ee2d63187649.tar.gz jquery-ui-40e36371173ba2304623fac3ab81ee2d63187649.zip |
Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 2 | ||||
-rw-r--r-- | ui/jquery.ui.core.js | 1 |
2 files changed, 2 insertions, 1 deletions
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, |