diff options
author | Felix Nagel <info@felixnagel.com> | 2012-11-29 20:30:15 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-11-29 20:33:05 +0100 |
commit | 18ecaf45dbc60010211f5487e51117a345a4c8d7 (patch) | |
tree | 5b260abd5319d1f2cf93658d7233b7747b5dca22 /ui/jquery.ui.selectmenu.js | |
parent | f622428c43b38da040b9220646b5384b9917b7bc (diff) | |
download | jquery-ui-18ecaf45dbc60010211f5487e51117a345a4c8d7.tar.gz jquery-ui-18ecaf45dbc60010211f5487e51117a345a4c8d7.zip |
Selectmenu: added comment about popup positioning
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 95c463a08..a6ce85f0c 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -211,6 +211,7 @@ $.widget( "ui.selectmenu", { this._toggleAttr(); this.menu.menu( "focus", event, this._getSelectedItem() ); + // do not change position if non default position options are set (needed for custom positioned popup menus) if ( this.items && !this.options.dropdown && this.options.position.my == "left top" && this.options.position.at == "left bottom" ) { var currentItem = this._getSelectedItem(); // center current item |