From: Radek Czajka Date: Tue, 7 Sep 2010 13:04:05 +0000 (+0200) Subject: autocomplete: ignore alt keydown X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/6aa2f527d49dc82ae94c7d74cb3bb94232f08d14?hp=483b49a917211353f1707012c77531cc0d06d99f autocomplete: ignore alt keydown --- 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() ) {