Added jQuery 1.9 to the project. Closes gh-613

This commit is contained in:
John-Philip Johansson
2013-01-30 08:35:55 +01:00
committed by Jörn Zaefferer
parent ab74256e54
commit 0681cc06c5
4 changed files with 9559 additions and 3 deletions

View File

@@ -696,7 +696,7 @@ test("findLastActive()", function() {
test("validating multiple checkboxes with 'required'", function() {
expect(3);
var checkboxes = $("#form input[name=check3]").attr("checked", false);
var checkboxes = $("#form input[name=check3]").prop("checked", false);
equal(checkboxes.size(), 5);
var v = $("#form").validate({
rules: {
@@ -705,7 +705,7 @@ test("validating multiple checkboxes with 'required'", function() {
});
v.form();
equal(v.size(), 1);
checkboxes.filter(":last").attr("checked", true);
checkboxes.filter(":last").prop("checked", true);
v.form();
equal(v.size(), 0);
});