diff options
author | Felix Nagel <info@felixnagel.com> | 2010-10-08 00:31:19 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2010-10-08 00:31:19 +0200 |
commit | 30760a4f2b09f4aca21df987264eedf87ba14099 (patch) | |
tree | 6ca7196a30b4932d6a81c97447cc00c245fc4c6c | |
parent | 95d115db493c43df18650e0bf62ab75715814bad (diff) | |
download | jquery-ui-30760a4f2b09f4aca21df987264eedf87ba14099.tar.gz jquery-ui-30760a4f2b09f4aca21df987264eedf87ba14099.zip |
fixed: removed default case for keyboard control as its steals keyboard control form user, thx to phazei
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 7505f0a15..258046ec3 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -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; }); |