Skip to main content

Bug Tracker

Side navigation

#5017 closed bug (fixed)

Opened August 05, 2009 09:33PM UTC

Closed September 14, 2009 08:56PM UTC

[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:
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 (1)
  • head.diff (0.6 KB) - added by mbrubeck August 05, 2009 09:33PM UTC.
Change History (1)

Changed September 14, 2009 08:56PM UTC by brandon comment:1

resolution: → fixed
status: newclosed

Fixed in r6550