Bug Tracker

Modify

Ticket #8050 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

ajax's error textStatus should be "error"

Reported by: musicisair Owned by:
Priority: high Milestone: 1.5
Component: ajax Version: 1.5rc1
Keywords: Cc:
Blocking: Blocked by:

Description

arguments of $.ajax()'s error callback for a 404 (Not Found) response are [Object, "Not Found", "Not Found"] when they should be [Object, "error", "Not Found"]

Test case here:  http://jsfiddle.net/tbS4G/

Change History

comment:1 Changed 2 years ago by jaubourg

  • Status changed from new to closed
  • Resolution set to fixed

Reworks how values of parameters passed to error callbacks are determined. Fixes #8050.

Changeset: 5ca8f0617f5c94495380ff783452a52eab706d39

comment:2 Changed 2 years ago by jitter

  • Priority changed from undecided to high
  • Component changed from unfiled to ajax
  • Milestone changed from 1.next to 1.5

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.