Bug Tracker

Ticket #2842 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

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


 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


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

Change History

comment:1 Changed 7 years ago by flesler

  • Owner set to flesler
  • Status changed from new to assigned

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

Changed 7 years ago by Morgan

add default url

comment:2 Changed 7 years ago by Morgan

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

comment:3 Changed 7 years ago by flesler

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

Closed at [5600], thanks.

Note: See TracTickets for help on using tickets.