change self.open to this.open

This commit is contained in:
Hans Hillen
2011-04-23 17:31:25 +02:00
parent 84f918ae44
commit 54795b5650

View File

@@ -160,7 +160,7 @@ $.widget("ui.menubar", {
this.active.menu("closeAll").hide().attr("aria-hidden", "true").attr("aria-expanded", "false");
this.active.prev().removeClass("ui-state-active").removeAttr("tabIndex");
this.active = null;
self.open = false;
this.open = false;
},
_open: function(event, menu) {
@@ -185,7 +185,7 @@ $.widget("ui.menubar", {
.focus()
.focusin()
;
self.open = true;
this.open = true;
},
_prev: function( event, button ) {