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 23492fdf9fa6f2c3b8ee85d062fed74297f3c438
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -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.
You can’t perform that action at this time.