Skip to content
Permalink
Browse files
Send data if a DELETE Ajax request is done. Fixes #5752.
  • Loading branch information
jeresig committed Jan 13, 2010
1 parent 5d49335 commit 23492fd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 23492fd

Please sign in to comment.