From 6aa2f527d49dc82ae94c7d74cb3bb94232f08d14 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 7 Sep 2010 15:04:05 +0200 Subject: [PATCH] autocomplete: ignore alt keydown --- redakcja/static/js/lib/jquery/jquery.autocomplete.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/redakcja/static/js/lib/jquery/jquery.autocomplete.js b/redakcja/static/js/lib/jquery/jquery.autocomplete.js index 0d25ba66..1d7a51df 100644 --- a/redakcja/static/js/lib/jquery/jquery.autocomplete.js +++ b/redakcja/static/js/lib/jquery/jquery.autocomplete.js @@ -8,6 +8,8 @@ * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: jquery.autocomplete.js 15 2009-08-22 10:30:27Z joern.zaefferer $ + * + * changed by Radek Czajka (FNP), 20100907: ignore alt keydown */ ;(function($) { @@ -96,6 +98,11 @@ $.Autocompleter = function(input, options) { lastKeyPressCode = event.keyCode; switch(event.keyCode) { + // changed by fnp + case 0: + break; + // changed by fnp + case KEY.UP: event.preventDefault(); if ( select.visible() ) { -- 2.20.1