aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorDavid Sullivan <david.sullivan@gmail.com>2013-01-26 04:03:14 -0600
committerMike Sherov <mike.sherov@gmail.com>2013-01-26 11:34:51 -0500
commit55360eeb7eae5c560d51b09178e64d83c59223a6 (patch)
tree97a342e0e4436c0c0b6ef4b3b2ac473ea0da8f48 /ui/jquery.ui.dialog.js
parentc53198c2099d25e80887c86af6d0e624414cc2f7 (diff)
downloadjquery-ui-55360eeb7eae5c560d51b09178e64d83c59223a6.tar.gz
jquery-ui-55360eeb7eae5c560d51b09178e64d83c59223a6.zip
Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 1d3a7a88f..ec4032ff3 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -695,7 +695,7 @@ $.widget( "ui.dialog", {
this.overlay = $("<div>")
.addClass("ui-widget-overlay ui-front")
- .appendTo( this.document[0].body );
+ .appendTo( this._appendTo() );
this._on( this.overlay, {
mousedown: "_keepFocus"
});