jQuery: The Write Less, Do More JavaScript Library

Ticket #3157 (new bug)

Opened 1 month ago

Last modified 1 month ago

JSONP doesn't always correctly fire ajax events

Reported by: tandoan Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.3 Component: ajax
Version: 1.2.6 Keywords: jsonp events
Cc: Needs: Test Case

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

smalltest.html (1.4 kB) - added by tandoan 1 month ago.
jsonreturn.html (26 bytes) - added by tandoan 1 month ago.

Change History

Changed 1 month ago by flesler

  • need changed from Review to Test 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 1 month ago by tandoan

Changed 1 month ago by tandoan

Changed 1 month 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.

Note: See TracTickets for help on using tickets.