diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:35:33 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-12-04 00:35:47 +0100 |
commit | d687a1b10d1e176a6a8dd4420f1ea3a890640da0 (patch) | |
tree | 88c6312ce4f83a00ccc24dd6630e553abbe9ab11 /ui/jquery.ui.dialog.js | |
parent | 8b15aaf4964490a2a84e8f9d32d86ac750e0d4a2 (diff) | |
download | jquery-ui-d687a1b10d1e176a6a8dd4420f1ea3a890640da0.tar.gz jquery-ui-d687a1b10d1e176a6a8dd4420f1ea3a890640da0.zip |
Dialog: Cleanup style properties on _destroy. Reenables style check in domEqual, while removing commented and unnecessary old code. Fixes #8119 - Dialog: Destroying a dialog leaves style, scrollleft, and scrolltop leftovers.
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 4a8b9964f..382008e08 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": "", + "min-height": "", + "height": "" + }) .hide() // without detaching first, the following becomes really slow .detach(); |