Permalink
Browse files

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

Ref #10739
Ref gh-1517
  • Loading branch information...
scottgonzalez committed Mar 23, 2015
1 parent 8cf9879 commit dc6703756d388b1f49be0637473a8d55b5ce9270
Showing with 2 additions and 2 deletions.
  1. +1 −1 ui/autocomplete.js
  2. +1 −1 ui/selectmenu.js
View
@@ -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 ) {
View
@@ -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 ) {

0 comments on commit dc67037

Please sign in to comment.