Bug Tracker

Modify

Ticket #3363 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

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

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

Change History

Changed 5 years ago by sminnee

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

comment:1 Changed 5 years ago by flesler

  • Owner set to flesler
  • Status changed from new to assigned

comment:2 Changed 4 years ago by john

  • Status changed from assigned to closed
  • Version changed from 1.2.3 to 1.3.2
  • Resolution set to fixed
  • Milestone changed from 1.3 to 1.4

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.