aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-10-04 09:18:21 -0400
committerScott González <scott.gonzalez@gmail.com>2010-10-04 09:18:21 -0400
commitc090802cc1f92736288dafbea95bb2783392975e (patch)
tree7b73d5eeba28bf8cf7fc2e06ddd6ddb01ea525cd /tests
parent67b1db14c964418ce8b1fd760d54761040cc32af (diff)
downloadjquery-ui-c090802cc1f92736288dafbea95bb2783392975e.tar.gz
jquery-ui-c090802cc1f92736288dafbea95bb2783392975e.zip
Revert "Dialog: Don't change DOM position on open. Fixes #6137 - dialog('open') causes form elements to reset on IE7."
This reverts commit 67b1db14c964418ce8b1fd760d54761040cc32af. Reverting so I can commit again with the proper author.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/dialog/dialog_tickets.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/unit/dialog/dialog_tickets.js b/tests/unit/dialog/dialog_tickets.js
index f7b590b53..dfa480fb7 100644
--- a/tests/unit/dialog/dialog_tickets.js
+++ b/tests/unit/dialog/dialog_tickets.js
@@ -61,21 +61,4 @@ test("#5531: dialog width should be at least minWidth on creation", function ()
});
-test("#6137: dialog('open') causes form elements to reset on IE7", function() {
- expect(2);
-
- d1 = $('<form><input type="radio" name="radio" id="a" value="a" checked="checked"></input>' +
- '<input type="radio" name="radio" id="b" value="b">b</input></form>').dialog({autoOpen: false});
-
- d1.find('#b')[0].checked = true;
- equal($('input:checked').val(), 'b', "checkbox b is checked");
-
- d2 = $('<div></div>').dialog({autoOpen: false});
-
- d1.dialog('open');
- equal($('input:checked').val(), 'b', "checkbox b is checked");
-
- d1.add(d2).remove();
-})
-
})(jQuery);