diff options
author | Alexander K <xpyro@ya.ru> | 2016-04-01 19:50:28 +0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2016-04-27 09:05:30 -0400 |
commit | 4f270427d24ca9b7591189c802e595ede6a92654 (patch) | |
tree | b1eb47920a10f76d3d85ce86196abc65420a5848 /src/serialize.js | |
parent | 3b356cfde431142eeaae4a916231487716ee4f23 (diff) | |
download | jquery-4f270427d24ca9b7591189c802e595ede6a92654.tar.gz jquery-4f270427d24ca9b7591189c802e595ede6a92654.zip |
Serialize: .param - don't use ajaxSettings.traditional
Ref gh-3023
Closes gh-3030
Diffstat (limited to 'src/serialize.js')
-rw-r--r-- | src/serialize.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/serialize.js b/src/serialize.js index b8742ab31..60d936251 100644 --- a/src/serialize.js +++ b/src/serialize.js @@ -68,11 +68,6 @@ jQuery.param = function( a, traditional ) { encodeURIComponent( value == null ? "" : value ); }; - // Set traditional to true for jQuery <= 1.3.2 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - // If an array was passed in, assume that it is an array of form elements. if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { |