Bug Tracker

Opened 9 years ago

Closed 9 years ago

#12101 closed bug (notabug)

ajaxStart working for .load(), but not for .ajax()

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: ajax Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:



Click 'Trigger' - ajaxStart() is not fired.

Uncomment the .load() line, and Run. When you click the Trigger text, ajaxStart() will fire.

Change History (4)

comment:1 Changed 9 years ago by dmethvin

Cc: jaubourg added
Status: newopen

Confirmed. Seems to have been broken since 1.5?

Last edited 9 years ago by dmethvin (previous) (diff)

comment:2 Changed 9 years ago by jaubourg

The sample request is a jsonp request, ie a script request. Global events are not triggered for those as is stated (not that clearly sadly) in the Advanced Options section of the ajax docs. That's because the requests are not guaranteed to complete.

comment:3 Changed 9 years ago by mikesherov

Component: unfiledajax

comment:4 Changed 9 years ago by mikesherov

Cc: jaubourg removed
Priority: undecidedlow
Resolution: notabug
Status: openclosed

As this is documented and intended behavior, closing as "not a bug".

Note: See TracTickets for help on using tickets.