Modify ↓
Ticket #3363 (closed enhancement: fixed)
Patch to include 3rd argument to callbacks in jQuery.get and jQuery.post as well as jQuery.load
| Reported by: | sminnee | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
jQuery.load passes the XMLHTTPResponse object as a 3rd argument to the callback handlers, but jQuery.get and jQuery.post don't.
This very simple patch updates piece of jQuery.ajax that calls the callback, updating it so that it passes the XMLHTTPResponse object as the 3rd argument.
Attachments
Change History
Changed 5 years ago by sminnee
-
attachment
third-callback-argument.patch
added
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

To merge, call "patch -p2 < third-callback-argument.patch" from the same directory as jquery.js