Skip to content
Permalink
Browse files

Dialog: Fixed #3664: Dialog fails to init on removed elements.

  • Loading branch information
scottgonzalez committed Dec 13, 2008
1 parent 4160a67 commit 0c3bd6aff55f68620fd9f42cf09d896a1dac847a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ' +

0 comments on commit 0c3bd6a

Please sign in to comment.
You can’t perform that action at this time.