nevermind, I'm dumb. =P
This commit is contained in:
parent
8a80d05a44
commit
e6c067858e
|
@ -794,7 +794,7 @@ jQuery.extend({
|
||||||
// If the value is an array then the key names need to be repeated
|
// If the value is an array then the key names need to be repeated
|
||||||
if ( a[j] && a[j].constructor == Array )
|
if ( a[j] && a[j].constructor == Array )
|
||||||
jQuery.each( a[j], function(){
|
jQuery.each( a[j], function(){
|
||||||
s.push( encodeURIComponent(j) + "[]=" + encodeURIComponent( this ) );
|
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( this ) );
|
||||||
});
|
});
|
||||||
else
|
else
|
||||||
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( a[j] ) );
|
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( a[j] ) );
|
||||||
|
|
Loading…
Reference in a new issue