Added a fix for an undefined param being passed to a load.
This commit is contained in:
parent
a87ecc44b6
commit
27c08b6544
1 changed files with 1 additions and 1 deletions
|
@ -799,7 +799,7 @@ jQuery.extend({
|
||||||
// Serialize the key/values
|
// Serialize the key/values
|
||||||
for ( var j in a )
|
for ( var j in a )
|
||||||
// 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].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 ) );
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue