]> source.dussan.org Git - jquery-ui.git/commitdiff
dialog - fixed autoOpen false in Safari for disconnected element - .appendTo(body...
authorRichard Worth <rdworth@gmail.com>
Mon, 9 Jun 2008 03:38:54 +0000 (03:38 +0000)
committerRichard Worth <rdworth@gmail.com>
Mon, 9 Jun 2008 03:38:54 +0000 (03:38 +0000)
ui/ui.dialog.js

index 03875240e065f253b8fc8d335ba6c05167a24974..54e5faf28f19e0f650ef4cb3df7a9d4c13316a6c 100644 (file)
@@ -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