X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax.js;h=ff293da6acff9280097a5fcaba2c9e35e87d5032;hb=9d1bfeb7ffe63b5a7488929b7be847bc1a00f6a6;hp=b39bc8ddbada1a8e77600fe919cb21143ce7c554;hpb=a4fc842019a678a331c7322a5be747e6adc426ca;p=jquery.git diff --git a/src/ajax.js b/src/ajax.js index b39bc8d..ff293da 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -208,12 +208,6 @@ jQuery.extend({ s.data = jQuery.param( s.data, s.traditional ); } - // If the jsonpCallback has been set, we can assume that dataType is jsonp - // Ticket #5803 - if ( s.jsonpCallback ) { - s.dataType = "jsonp"; - } - // Handle JSONP Parameter Callbacks if ( s.dataType === "jsonp" ) { if ( type === "GET" ) {