mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
All: Include native dialogs in appendTo logic (ui-front walking)
Ref #10739 Ref gh-1517
This commit is contained in:
parent
8cf98798a5
commit
dc6703756d
@ -365,7 +365,7 @@ $.widget( "ui.autocomplete", {
|
||||
}
|
||||
|
||||
if ( !element || !element[ 0 ] ) {
|
||||
element = this.element.closest( ".ui-front" );
|
||||
element = this.element.closest( ".ui-front, dialog" );
|
||||
}
|
||||
|
||||
if ( !element.length ) {
|
||||
|
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user