aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-09 03:38:54 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-09 03:38:54 +0000
commit7a3f5e5a14fe82a33c902af831a35ed38d883c8a (patch)
treec16ce432d47705e1ced682514b2b0006a7b90911
parent0d74c8463b04a23cb32cb84e56a54a58893066a1 (diff)
downloadjquery-ui-7a3f5e5a14fe82a33c902af831a35ed38d883c8a.tar.gz
jquery-ui-7a3f5e5a14fe82a33c902af831a35ed38d883c8a.zip
dialog - fixed autoOpen false in Safari for disconnected element - .appendTo(body) before .hide()
-rw-r--r--ui/ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index 03875240e..54e5faf28 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -54,8 +54,8 @@ $.widget("ui.dialog", {
.prependTo(uiDialogContainer),
uiDialog = (this.uiDialog = uiDialogContainer.parent())
- .hide()
.appendTo(document.body)
+ .hide()
.addClass('ui-dialog')
.addClass(options.dialogClass)
// add content classes to dialog