aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.selectmenu.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index 05d61c4ef..1d876a73f 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -45,6 +45,9 @@ $.widget("ui.selectmenu", {
// define safe mouseup for future toggling
this._safemouseup = true;
+
+ // FIXME temp workaround for IE
+ if ($.browser.msie) o.typeAhead = "";
// create menu button wrapper
this.newelement = $('<a class="' + this.widgetBaseClass + ' ui-widget ui-state-default ui-corner-all" id="' + this.ids[0] + '" role="button" href="#" tabindex="0" aria-haspopup="true" aria-owns="' + this.ids[1] + '"></a>')
@@ -219,9 +222,9 @@ $.widget("ui.selectmenu", {
self.close(event, true);
break;
default:
- ret = true;
-
- self._typeAhead(event.keyCode,'focus'); break;
+ ret = true;
+ self._typeAhead(event.keyCode,'focus');
+ break;
}
return ret;
});