]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: removed default case for keyboard control as its steals keyboard control form...
authorFelix Nagel <info@felixnagel.com>
Thu, 7 Oct 2010 22:31:19 +0000 (00:31 +0200)
committerFelix Nagel <info@felixnagel.com>
Thu, 7 Oct 2010 22:31:19 +0000 (00:31 +0200)
ui/jquery.ui.selectmenu.js

index 7505f0a15b21533f49c1734a4366b05d29ae9e3a..258046ec3e92e21e91f2824dd1556c5ba0da939c 100644 (file)
@@ -243,7 +243,7 @@ $.widget("ui.selectmenu", {
                        .keydown(function(event){
                                var ret = true;
                                switch (event.keyCode) {
-                                       // this needs to be fixed as _moveFocus doesnt work correctly
+                                       // FIXME this needs to be fixed as _moveFocus doesnt work correctly
                                        /*
                                        case $.ui.keyCode.UP:
                                        case $.ui.keyCode.LEFT:
@@ -285,11 +285,7 @@ $.widget("ui.selectmenu", {
                                        case $.ui.keyCode.ESCAPE:
                                                ret = false;
                                                self.close(event,true);
-                                               break;  
-                                       default:
-                                               ret = false;
-                                               self._typeAhead(event.keyCode,'focus');
-                                               break;          
+                                               break;
                                }
                                return ret;
                        });