From 7a3f5e5a14fe82a33c902af831a35ed38d883c8a Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 9 Jun 2008 03:38:54 +0000 Subject: [PATCH] dialog - fixed autoOpen false in Safari for disconnected element - .appendTo(body) before .hide() --- ui/ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5