diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-11 13:19:46 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-05-11 13:19:46 +0200 |
commit | c17f245d9848ae865d400dabb02ea954aa8da645 (patch) | |
tree | 03ef718a2d33b631cc27eba9fc9b3bbca183960a /ui/jquery.ui.menu.js | |
parent | 85ac420a1e4281ee7f361e847d3cad72fa58525e (diff) | |
download | jquery-ui-c17f245d9848ae865d400dabb02ea954aa8da645.tar.gz jquery-ui-c17f245d9848ae865d400dabb02ea954aa8da645.zip |
Autocomplete: Revert fix for #7024, broke regular menu selection.
Disabled test for now (need to reopen ticket).
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index 3cc25062c..0841018af 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -18,7 +18,6 @@ var idIncrement = 0; $.widget("ui.menu", { defaultElement: "<ul>", delay: 150, - isNewMenu: true, options: { position: { my: "left top", @@ -55,8 +54,7 @@ $.widget("ui.menu", { self.select( event ); }) .bind( "mouseover.menu", function( event ) { - if ( self.options.disabled || self.isNewMenu ) { - self.isNewMenu = false; + if ( self.options.disabled ) { return; } var target = $( event.target ).closest( ".ui-menu-item" ); |