Bug Tracker

Opened 12 years ago

Last modified 10 years ago

#8173 closed bug

1.5 Ajax not triggering error for bad URL — at Initial Version

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.next
Component: ajax Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

Description

This simple AJAX call includes a URL that doesn't exist. In 1.5 in Firefox it does not display the alert meaning the error is not being caught (or causes a runtime error in Firebug). In 1.4.4 it properly catches the error in the textStatus.

$('#cmdDetails').bind('click', function() {

$.ajax ({

type: "GET", dataType: "json",

url: "server/fakeurl.php", complete : function(data, textStatus, jqXHR) {

alert(textStatus);

}

})

});

Change History (0)

Note: See TracTickets for help on using tickets.