Fixes #2167
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 20 Mar 2013 11:04:20 +0000 (12:04 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 20 Mar 2013 11:04:20 +0000 (12:04 +0100)
Ignoring right alt properly. On Windows this requires
handling two separate key events, the second one (17) being
for ctrl.

redakcja/static/js/lib/jquery/jquery.autocomplete.js

index 1d7a51d..83d8f9d 100644 (file)
@@ -99,7 +99,8 @@ $.Autocompleter = function(input, options) {
                switch(event.keyCode) {
 
             // changed by fnp
                switch(event.keyCode) {
 
             // changed by fnp
-            case 0:
+            case 18:
+            case 17:
                 break;
             // changed by fnp
 
                 break;
             // changed by fnp