Skip to main content

Bug Tracker

Side navigation

#2842 closed bug (fixed)

Opened May 11, 2008 07:07PM UTC

Closed May 14, 2008 07:51PM UTC

missing url in $.ajax fails (instead of using the current url)

Reported by: onetimeaccount Owned by: flesler
Priority: major Milestone: 1.2.4
Component: ajax Version: 1.2.3
Keywords: url .ajax Cc:
Blocked by: Blocking:
Description

http://docs.jquery.com/Ajax/jQuery.ajax#toptions

says the "default" is the current page.

What I got is "s.url is undefined

jquery.js (line 2630)" in firefox 3 alpha 5

safari 3.1.1 similar.

no further testing by me.

jquery version = 1.2.3

Attachments (1)
Change History (3)

Changed May 11, 2008 08:45PM UTC by flesler comment:1

owner: → flesler
status: newassigned

Indeed, this is not as documented, will look into it.

Changed May 14, 2008 05:18AM UTC by Morgan comment:2

here's a quick patch that add url: document.location.href to the ajaxSettings

Changed May 14, 2008 07:51PM UTC by flesler comment:3

resolution: → fixed
status: assignedclosed

Closed at [5600], thanks.