diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 10:03:05 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 10:03:05 -0500 |
commit | 3c2acc322782cc08e575405f8123029342e33542 (patch) | |
tree | 5914ce68730390f69105fb97e43fe5f066ee9695 /ui/jquery.ui.dialog.js | |
parent | 975bde542b165375c48b07e2e2f8a62d2a2230a4 (diff) | |
download | jquery-ui-3c2acc322782cc08e575405f8123029342e33542.tar.gz jquery-ui-3c2acc322782cc08e575405f8123029342e33542.zip |
Dialog: Remove width, min-height, height styles on destroy. Fixes #8119 - Dialog: Destroying a dialog leaves some styles changed.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 361beeb4c..96c998656 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -127,6 +127,11 @@ $.widget("ui.dialog", { this.element .removeUniqueId() .removeClass( "ui-dialog-content ui-widget-content" ) + .css({ + width: "", + minHeight: "", + height: "" + }) .hide() // without detaching first, the following becomes really slow .detach(); |