From 68a369911a030ad010f71fbe96845d50a146b960 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Tue, 27 Sep 2011 23:55:52 +0200 Subject: Selectmenu: added zIndex for positioned element --- ui/jquery.ui.selectmenu.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ui') diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 3f56f45fe..ccae38eea 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -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 ); } }, -- cgit v1.2.3