Bug Tracker

Modify

Ticket #4810 (closed bug: duplicate)

Opened 4 years ago

Last modified 3 years ago

JSONP Ajax repeat complete call

Reported by: Connorhd Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

On success a JSONP appears to call the complete callback twice.

This appears to be because complete() is called when the tmp function is executed and when the onreadystatechange poll ends.

See attached example

Attachments

jquery.png Download (24.0 KB) - added by Connorhd 4 years ago.
test.htm Download (947 bytes) - added by Connorhd 4 years ago.

Change History

Changed 4 years ago by Connorhd

Changed 4 years ago by Connorhd

comment:1 Changed 3 years ago by dmethvin

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

Duplicate of #5383.

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.