Selectmenu: added zIndex for positioned element

This commit is contained in:
Felix Nagel 2011-09-27 23:55:52 +02:00
parent 4d56732195
commit 68a369911a

View File

@ -262,12 +262,14 @@ $.widget( "ui.selectmenu", {
offset: "0 " + _offset
});
}
self.listWrap.position( $.extend({
of: this.newelementWrap
}, options.position ));
this.opened = true;
self.listWrap
.zIndex( self.element.zIndex() + 1 )
.position( $.extend({
of: self.newelementWrap
}, options.position ));
self.opened = true;
self._trigger( "open", event );
}
},