aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-12-04 00:35:33 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-12-04 00:35:47 +0100
commitd687a1b10d1e176a6a8dd4420f1ea3a890640da0 (patch)
tree88c6312ce4f83a00ccc24dd6630e553abbe9ab11 /ui/jquery.ui.dialog.js
parent8b15aaf4964490a2a84e8f9d32d86ac750e0d4a2 (diff)
downloadjquery-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.js5
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();