diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-12-13 15:12:34 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-12-13 15:12:34 +0000 |
commit | 0c3bd6aff55f68620fd9f42cf09d896a1dac847a (patch) | |
tree | c61245af0c0260757385c9f30a1640e851b67b18 | |
parent | 4160a67a8af60ef1f41dd1a53744ca57621007c6 (diff) | |
download | jquery-ui-0c3bd6aff55f68620fd9f42cf09d896a1dac847a.tar.gz jquery-ui-0c3bd6aff55f68620fd9f42cf09d896a1dac847a.zip |
Dialog: Fixed #3664: Dialog fails to init on removed elements.
-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 41732dc80..96414e7eb 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -37,6 +37,7 @@ $.widget("ui.dialog", { options = this.options, uiDialogContent = this.element + .appendTo(document.body) .removeAttr('title') .addClass( 'ui-dialog-content ' + @@ -104,7 +105,6 @@ $.widget("ui.dialog", { .prependTo(uiDialogTitlebar), uiDialog = (this.uiDialog = uiDialogContainer.parent()) - .appendTo(document.body) .hide() .addClass( 'ui-dialog ' + |