Bug Tracker

Modify

Ticket #6127 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

Calling .abort() on AJAX Request Triggers "success" callback

Reported by: jarcoal Owned by:
Priority: low Milestone: 1.4.2
Component: ajax Version: 1.4
Keywords: ajax abort Cc:
Blocking: Blocked by:

Description

From 1.4+ calling abort on an AJAX request still fires the callback and the status identifies it as a "success." This is not the same functionality as 1.3.2, which would keep the callback from firing.

Change History

comment:1 Changed 3 years ago by dlee

I can confirm this behavior on IE7, and  http://forum.jquery.com/topic/after-aborting-an-ajax-call-success-event-is-still-being-fired mentions the same problem.

comment:2 Changed 3 years ago by addyosmani

  • Priority set to low
  • Status changed from new to closed
  • Resolution set to duplicate

This has been fixed already here  http://github.com/jquery/jquery/commit/ba9e0fc177841bd74cc5ea4e52f09cd87d747bf5 but it's a duplicate of #6060

comment:3 Changed 3 years ago by addyosmani

Duplicate of #6060.

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.