diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 09:21:33 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-12-04 09:21:33 -0500 |
commit | 050e71bdd88708ce6e8462a89af4399cffa72cf3 (patch) | |
tree | a386b98f397ab335be4e81b426b2847631329922 /tests/unit/dialog/dialog_methods.js | |
parent | 8072099a3ac78340b4b861d76aac082968cd1df7 (diff) | |
download | jquery-ui-050e71bdd88708ce6e8462a89af4399cffa72cf3.tar.gz jquery-ui-050e71bdd88708ce6e8462a89af4399cffa72cf3.zip |
Revert "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."
This reverts commit d687a1b10d1e176a6a8dd4420f1ea3a890640da0.
Diffstat (limited to 'tests/unit/dialog/dialog_methods.js')
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index 3753144f3..e5275c7a4 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -35,8 +35,6 @@ test("init", function() { test("destroy", function() { expect( 6 ); - // expect dialogs to be hidden before and after - $( "#dialog1, #form-dialog" ).hide(); domEqual( "#dialog1", function() { var dialog = $( "#dialog1" ).dialog().dialog( "destroy" ); equal( dialog.parent()[ 0 ], $( "#qunit-fixture" )[ 0 ] ); |