Bug Tracker

Opened 11 years ago

Closed 10 years ago

#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:
Blocked by: Blocking:

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 (1)

third-callback-argument.patch (450 bytes) - added by sminnee 11 years ago.
To merge, call "patch -p2 < third-callback-argument.patch" from the same directory as jquery.js

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by sminnee

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

comment:1 Changed 11 years ago by flesler

Owner: set to flesler
Status: newassigned

comment:2 Changed 10 years ago by john

Milestone: 1.31.4
Resolution: fixed
Status: assignedclosed
Version: 1.2.31.3.2
Note: See TracTickets for help on using tickets.