From 4f270427d24ca9b7591189c802e595ede6a92654 Mon Sep 17 00:00:00 2001 From: Alexander K Date: Fri, 1 Apr 2016 19:50:28 +0500 Subject: Serialize: .param - don't use ajaxSettings.traditional Ref gh-3023 Closes gh-3030 --- src/serialize.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') 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 ) ) ) { -- cgit v1.2.3