diff options
Diffstat (limited to 'src/serialize.js')
-rw-r--r-- | src/serialize.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialize.js b/src/serialize.js index 212640cf1..b81c15212 100644 --- a/src/serialize.js +++ b/src/serialize.js @@ -23,7 +23,7 @@ jQuery.fn.extend({ return val == null ? null : jQuery.isArray( val ) ? - jQuery.map( val, function( val, i ){ + jQuery.map( val, function( val ){ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; }) : { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; |