Opened 10 years ago
Closed 10 years ago
#12226 closed bug (invalid)
concurrent jsonp ajax requests with the same jsonpCallback value fail with an undefined callback
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | ajax | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
With an error message: TypeError: 'undefined' is not a function (evaluating 'callback({"count": "3"})')
jsfiddle here: http://jsfiddle.net/Wn4HH/3/
Additional calls beyond the first appear to overwrite the global callback function.
Change History (1)
comment:1 Changed 10 years ago by
Component: | unfiled → ajax |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Version: | 1.7.2 → 1.8.0 |
Note: See
TracTickets for help on using
tickets.
You're specifying a the name of a callback handler without actually creating it.
From docs - jsonpCallback:
Example: http://jsfiddle.net/Wn4HH/4/