Added test for #815

This commit is contained in:
Jörn Zaefferer 2007-03-25 12:16:23 +00:00
parent 4b9bed9543
commit eab0e57fb5

View file

@ -105,3 +105,10 @@ test("Event.data is a global event object", function() {
$(this).bind('change', i, selectOnChange); $(this).bind('change', i, selectOnChange);
}).trigger('change'); }).trigger('change');
}); });
test("click event handler for checkbox gets fired twice, see #815", function() {
expect(1);
$("#check1").click(function() {
ok( true );
}).click();
});