mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 12:25:22 -05:00
Fixing request data param issue. Thanks to mislav for the patch. Fixes #5123.
This commit is contained in:
@@ -484,7 +484,7 @@ jQuery.extend({
|
||||
|
||||
// Send the data
|
||||
try {
|
||||
xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
|
||||
xhr.send( (type !== "GET" && s.data) || null );
|
||||
|
||||
} catch( sendError ) {
|
||||
jQuery.ajax.handleError( s, xhr, null, e );
|
||||
|
||||
Reference in New Issue
Block a user