Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2842 closed bug (fixed)

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:


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)

2842-ajax_undefiend_url.diff (360 bytes) - added by Morgan 15 years ago.
add default url

Download all attachments as: .zip

Change History (4)

comment:1 Changed 15 years ago by flesler

Owner: set to flesler
Status: newassigned

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

Changed 15 years ago by Morgan

add default url

comment:2 Changed 15 years ago by Morgan

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

comment:3 Changed 15 years ago by flesler

Resolution: fixed
Status: assignedclosed

Closed at [5600], thanks.

Note: See TracTickets for help on using tickets.