Merge remote-tracking branch 'origin/master'
[redakcja.git] / redakcja / static / js / lib / jquery / jquery.autocomplete.js
index 0d25ba6..83d8f9d 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,12 @@ $.Autocompleter = function(input, options) {
                lastKeyPressCode = event.keyCode;
                switch(event.keyCode) {
 
                lastKeyPressCode = event.keyCode;
                switch(event.keyCode) {
 
+            // changed by fnp
+            case 18:
+            case 17:
+                break;
+            // changed by fnp
+
                        case KEY.UP:
                                event.preventDefault();
                                if ( select.visible() ) {
                        case KEY.UP:
                                event.preventDefault();
                                if ( select.visible() ) {