aboutsummaryrefslogtreecommitdiffstats
path: root/ui/selectmenu.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-03-23 19:11:37 -0400
committerScott González <scott.gonzalez@gmail.com>2015-03-26 07:35:20 -0400
commitdc6703756d388b1f49be0637473a8d55b5ce9270 (patch)
tree08d75ea3cba61106bcc36fdef3a1b0e8da56e8d4 /ui/selectmenu.js
parent8cf98798a58afb7197bce0d6ca1c5b658ae04011 (diff)
downloadjquery-ui-dc6703756d388b1f49be0637473a8d55b5ce9270.tar.gz
jquery-ui-dc6703756d388b1f49be0637473a8d55b5ce9270.zip
All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739 Ref gh-1517
Diffstat (limited to 'ui/selectmenu.js')
-rw-r--r--ui/selectmenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/selectmenu.js b/ui/selectmenu.js
index 74e142d33..c52f6e452 100644
--- a/ui/selectmenu.js
+++ b/ui/selectmenu.js
@@ -586,7 +586,7 @@ return $.widget( "ui.selectmenu", {
}
if ( !element || !element[ 0 ] ) {
- element = this.element.closest( ".ui-front" );
+ element = this.element.closest( ".ui-front, dialog" );
}
if ( !element.length ) {