Bug Tracker

Modify

Ticket #4820 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

fallback xhr transport missing in 1.3.2

Reported by: erob Owned by:
Priority: minor Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: xhr Cc: erob
Blocking: Blocked by:

Description

In case upgrading from jQuery 1.2.6 to 1.3.X, the current behavior of the $.ajax method seems to require an implicit xhr param to be passed in.

This will break if the user has not set this param explicitely, so a fallback method can be used as an alternative.

Attachments

default-xhr-transport.patch Download (598 bytes) - added by erob 4 years ago.
Proposed patch to add a fallback xhr method

Change History

Changed 4 years ago by erob

Proposed patch to add a fallback xhr method

comment:1 Changed 4 years ago by flesler

  • Cc erob added
  • Status changed from new to closed
  • Resolution set to invalid

We do provide a default implementation (obviously!). The settings passed to $.ajax are extended with $.ajaxSettings which contains the default implementation.

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.