From ec2890a60ffa83b2d0b729bc60df0576ef9f750b Mon Sep 17 00:00:00 2001
From: =?utf8?q?Aleksander=20=C5=81ukasz?=
 <aleksander.lukasz@nowoczesnapolska.org.pl>
Date: Wed, 20 Mar 2013 12:04:20 +0100
Subject: [PATCH] Fixes #2167

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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/redakcja/static/js/lib/jquery/jquery.autocomplete.js b/redakcja/static/js/lib/jquery/jquery.autocomplete.js
index 1d7a51df..83d8f9d5 100644
--- a/redakcja/static/js/lib/jquery/jquery.autocomplete.js
+++ b/redakcja/static/js/lib/jquery/jquery.autocomplete.js
@@ -99,7 +99,8 @@ $.Autocompleter = function(input, options) {
 		switch(event.keyCode) {
 
             // changed by fnp
-            case 0:
+            case 18:
+            case 17:
                 break;
             // changed by fnp
 
-- 
2.20.1