autocomplete: ignore alt keydown
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 7 Sep 2010 13:04:05 +0000 (15:04 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 7 Sep 2010 13:04:05 +0000 (15:04 +0200)
redakcja/static/js/lib/jquery/jquery.autocomplete.js

index 0d25ba6..1d7a51d 100644 (file)
@@ -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 $
  *   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($) {
  */
 
 ;(function($) {
@@ -96,6 +98,11 @@ $.Autocompleter = function(input, options) {
                lastKeyPressCode = event.keyCode;
                switch(event.keyCode) {
 
                lastKeyPressCode = event.keyCode;
                switch(event.keyCode) {
 
+            // changed by fnp
+            case 0:
+                break;
+            // changed by fnp
+
                        case KEY.UP:
                                event.preventDefault();
                                if ( select.visible() ) {
                        case KEY.UP:
                                event.preventDefault();
                                if ( select.visible() ) {