Bug Tracker

Opened 14 years ago

Closed 13 years ago

#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:
Blocked by: Blocking:


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 (1)

head.diff (576 bytes) - added by mbrubeck 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by mbrubeck

Attachment: head.diff added

comment:1 Changed 13 years ago by brandon

Resolution: fixed
Status: newclosed

Fixed in r6550

Note: See TracTickets for help on using tickets.