Commit 23492fdf authored by jeresig's avatar jeresig

Send data if a DELETE Ajax request is done. Fixes #5752.

parent 5d49335e
...@@ -478,7 +478,7 @@ jQuery.extend({ ...@@ -478,7 +478,7 @@ jQuery.extend({
// Send the data // Send the data
try { try {
xhr.send( type === "POST" || type === "PUT" ? s.data : null ); xhr.send( type === "POST" || type === "PUT" || type === "DELETE" ? s.data : null );
} catch(e) { } catch(e) {
jQuery.handleError(s, xhr, null, e); jQuery.handleError(s, xhr, null, e);
// Fire the complete handlers // Fire the complete handlers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment