diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-09 03:38:54 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-09 03:38:54 +0000 |
commit | 7a3f5e5a14fe82a33c902af831a35ed38d883c8a (patch) | |
tree | c16ce432d47705e1ced682514b2b0006a7b90911 | |
parent | 0d74c8463b04a23cb32cb84e56a54a58893066a1 (diff) | |
download | jquery-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.js | 2 |
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 |