Skip to content

Commit

Permalink
All: Include native dialogs in appendTo logic (ui-front walking)
Browse files Browse the repository at this point in the history
Ref #10739
Ref gh-1517
  • Loading branch information
scottgonzalez committed Mar 26, 2015
1 parent 8cf9879 commit dc67037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
2 changes: 1 addition & 1 deletion ui/selectmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit dc67037

Please sign in to comment.