Modify ↓
Ticket #5017 (closed bug: fixed)
[PATCH] JSONP fails on page with no HEAD
| Reported by: | mbrubeck | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | ajax | Version: | 1.3.2 |
| Keywords: | jsonp | Cc: | |
| Blocking: | Blocked by: |
Description
On a page with no HEAD, JSONP requests fail because jQuery.ajax tries to attach the JSONP script element to the head.
This one-line patch fixes this, using the exact same technique used by the globalEval function in core.js.
Attachments
Change History
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.

