Fixing request data param issue. Thanks to mislav for the patch. Fixes #5123.
This commit is contained in:
parent
c34a62f8ab
commit
c90d609c0d
3 changed files with 15 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue