All: Include native dialogs in appendTo logic (ui-front walking)

Ref #10739
Ref gh-1517

(cherry picked from commit dc6703756d)
This commit is contained in:
Scott González 2015-03-23 19:11:37 -04:00
parent 977b33625b
commit eb13525fbe
2 changed files with 2 additions and 2 deletions

View File

@ -359,7 +359,7 @@ $.widget( "ui.autocomplete", {
}
if ( !element || !element[ 0 ] ) {
element = this.element.closest( ".ui-front" );
element = this.element.closest( ".ui-front, dialog" );
}
if ( !element.length ) {

View File

@ -541,7 +541,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 ) {