Skip to content

ajaxError and ajaxComplete firing twice upon abort #1775

Closed
@mgol

Description

Originally reported by Dwelle at: http://bugs.jquery.com/ticket/15160

Aborting jqXHR objects inside ajaxSend results in ajaxError and ajaxComplete callbacks being called twice. On first execution, jqXHR's status is "abort", on second execution, it throws TypeError: Cannot read property 'send' of undefined .

JSFiddle:  http://jsfiddle.net/LK2g3/

tested on Chrome 35, FF 30, jQuery 1.9.1, 1.11.1, 2.1.1

Issue reported for jQuery 1.11.1

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions