Bug Tracker

Ticket #5017 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

[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:


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.


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

Change History

Changed 6 years ago by mbrubeck

comment:1 Changed 6 years ago by brandon

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

Fixed in r6550

Note: See TracTickets for help on using tickets.