Bug Tracker

Opened 11 years ago

Closed 9 years ago

#3157 closed bug (fixed)

JSONP doesn't always correctly fire ajax events

Reported by: tandoan Owned by:
Priority: major Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: jsonp events Cc:
Blocked by: Blocking:

Description

When making a remote call, jQuery.active is incremented, but never decremented properly, so ajaxStart and ajaxComplete events are not fired after the first ajaxStart.

Attachments (2)

smalltest.html (1.4 KB) - added by tandoan 11 years ago.
jsonreturn.html (26 bytes) - added by tandoan 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by flesler

need: ReviewTest Case

I don't really see why. I checked the source and it doesn't depend on whether it is jsonp or not. Can you provide a test case to reproduce the error ? just a small html file that shows the problem.

Changed 11 years ago by tandoan

Attachment: smalltest.html added

Changed 11 years ago by tandoan

Attachment: jsonreturn.html added

comment:2 Changed 11 years ago by tandoan

Attached are 2 files, changing line 34 in smalltest.html so that jsonreturn.html is on a different server will cause the incorrect event behavior.

comment:3 Changed 9 years ago by dmethvin

Resolution: fixed
Status: newclosed

I think this has been fixed long ago...

Note: See TracTickets for help on using tickets.