Backing out fix for #5803 from 3b50eaca2c.

This commit is contained in:
John Resig 2010-10-25 17:54:27 -07:00
parent 9b97599fa4
commit de58db0cdf
2 changed files with 0 additions and 21 deletions

View file

@ -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" ) {