mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Send data if a DELETE Ajax request is done. Fixes #5752.
This commit is contained in:
parent
5d49335eac
commit
23492fdf9f
@ -478,7 +478,7 @@ jQuery.extend({
|
||||
|
||||
// Send the data
|
||||
try {
|
||||
xhr.send( type === "POST" || type === "PUT" ? s.data : null );
|
||||
xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
|
||||
} catch(e) {
|
||||
jQuery.handleError(s, xhr, null, e);
|
||||
// Fire the complete handlers
|
||||
|
Loading…
Reference in New Issue
Block a user