aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-09-27 23:55:52 +0200
committerFelix Nagel <info@felixnagel.com>2011-09-27 23:55:52 +0200
commit68a369911a030ad010f71fbe96845d50a146b960 (patch)
tree06f8926d8eb2849b1b73a04fff6859df7dcda8e1 /ui/jquery.ui.selectmenu.js
parent4d56732195a9dd2e5e919b1a537a2f73dffa5c41 (diff)
downloadjquery-ui-68a369911a030ad010f71fbe96845d50a146b960.tar.gz
jquery-ui-68a369911a030ad010f71fbe96845d50a146b960.zip
Selectmenu: added zIndex for positioned element
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r--ui/jquery.ui.selectmenu.js12
1 files changed, 7 insertions, 5 deletions
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 );
}
},