]> source.dussan.org Git - jquery-ui.git/commitdiff
Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete
authorjzaefferer <joern.zaefferer@gmail.com>
Fri, 26 Mar 2010 16:40:46 +0000 (12:40 -0400)
committerjzaefferer <joern.zaefferer@gmail.com>
Fri, 26 Mar 2010 16:40:46 +0000 (12:40 -0400)
ui/jquery.ui.autocomplete.js
ui/jquery.ui.core.js

index 83a8cf7a4194cff32a2442532b76f6a5fa55c7fb..eb07b4a4ed8b0f22c618f5ecca4f28693fd756e0 100644 (file)
@@ -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:
index e0e1727ee1f6b93204580d93ab1a1a0efdb1f8d7..197a1aba9173841db89c9c1ff138f9f186cfeecd 100644 (file)
@@ -70,6 +70,7 @@ $.ui = {
        },
 
        keyCode: {
+               ALT: 18,
                BACKSPACE: 8,
                CAPS_LOCK: 20,
                COMMA: 188,