Tweak broken serialize tests from commit 879799fe95
. Thanks to @jaubourg for the catch.
This commit is contained in:
parent
06c505d851
commit
57c046f91c
1 changed files with 3 additions and 3 deletions
|
@ -362,11 +362,11 @@ test("serialize()", function() {
|
||||||
);
|
);
|
||||||
|
|
||||||
equals( jQuery('#form').serialize(),
|
equals( jQuery('#form').serialize(),
|
||||||
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2",
|
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3",
|
||||||
'Check form serialization as query string');
|
'Check form serialization as query string');
|
||||||
|
|
||||||
equals( jQuery('#form :input').serialize(),
|
equals( jQuery('#form :input').serialize(),
|
||||||
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2",
|
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3",
|
||||||
'Check input serialization as query string');
|
'Check input serialization as query string');
|
||||||
|
|
||||||
equals( jQuery('#testForm').serialize(),
|
equals( jQuery('#testForm').serialize(),
|
||||||
|
@ -378,7 +378,7 @@ test("serialize()", function() {
|
||||||
'Check input serialization as query string');
|
'Check input serialization as query string');
|
||||||
|
|
||||||
equals( jQuery('#form, #testForm').serialize(),
|
equals( jQuery('#form, #testForm').serialize(),
|
||||||
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&T3=%3F%0AZ&H1=x&H2=&PWD=&T1=&T2=YES&My+Name=me&S1=abc&S3=YES&S4=",
|
"action=Test&radio2=on&check=on&hidden=&foo%5Bbar%5D=&name=name&search=search&email=dave%40jquery.com&number=43&select1=&select2=3&select3=1&select3=2&select5=3&T3=%3F%0AZ&H1=x&H2=&PWD=&T1=&T2=YES&My+Name=me&S1=abc&S3=YES&S4=",
|
||||||
'Multiple form serialization as query string');
|
'Multiple form serialization as query string');
|
||||||
|
|
||||||
/* Temporarily disabled. Opera 10 has problems with form serialization.
|
/* Temporarily disabled. Opera 10 has problems with form serialization.
|
||||||
|
|
Loading…
Reference in a new issue