Modify ↓
Ticket #9853 (closed bug: duplicate)
browser throws 'not a function' after abort a jsonp request
| Reported by: | henrypares@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | ajax | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
i use ajax with jsonp type , i call abort() when it does not return , and jsonp callback will be removed from window , so that when the request returns , the browser will throw 'jqueryxxxx is not a function' exception.
Change History
comment:1 Changed 22 months ago by timmywil
- Priority changed from undecided to low
- Resolution set to duplicate
- Status changed from new to closed
- Component changed from unfiled to ajax
- Milestone changed from 1.next to None
comment:3 Changed 22 months ago by anonymous
I think I'm experiencing the same, or at least a similar, issue. I have a function that makes an ajax call when a dialog is opened and I have that function aborted when the dialog is closed. That works fine, however I'm unable to recall the function, receiving an error that it is no longer a function.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
