Disabled test for now (need to reopen ticket).
}, 50);
});
+/* TODO previous fix broke more than it fixed, disabling this for now - messed up regular menu select event
test("blur without selection", function() {
expect(1);
var ac = $("#autocomplete").autocomplete({
start();
}, 50);
});
+*/
})(jQuery);
this.menu.element.hide();
this.menu.blur();
this._trigger( "close", event );
- this.menu.isNewMenu = true;
}
},
$.widget("ui.menu", {
defaultElement: "<ul>",
delay: 150,
- isNewMenu: true,
options: {
position: {
my: "left top",
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" );