Menu: Cleanup

This commit is contained in:
jzaefferer 2011-02-28 22:38:06 +01:00
parent a256e05df5
commit 2221dd6583

View File

@ -239,9 +239,6 @@ $.widget("ui.menu", {
}, },
_open: function(submenu) { _open: function(submenu) {
// TODO restrict to widget
//only one menu can have items open at a time.
//$(document).find(".ui-menu").not(submenu.parents()).hide().data("menu").blur();
this.element.find(".ui-menu").not(submenu.parents()).hide(); this.element.find(".ui-menu").not(submenu.parents()).hide();
var position = $.extend({}, { var position = $.extend({}, {