Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#8107 closed bug (fixed)

jQuery.ajax fails when only the URL parameter is provided

Reported by: danheberden Owned by: danheberden
Priority: low Milestone: 1.5.1
Component: ajax Version: 1.5
Keywords: Cc: jaubourg
Blocked by: Blocking:

Description (last modified by danheberden)

$.ajax( 'url' ); fails with

Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html

Error: invalid 'in' operand options
Source File: http://code.jquery.com/jquery-git.js
Line: 6352

If the settings object (even if just {} ) is present, it works fine. Also, looks like unit tests passed cuz it was just calling $.ajax();


Change History (7)

comment:1 Changed 12 years ago by danheberden

Cc: jaubourg added
Component: unfiledajax
Description: modified (diff)
Priority: undecidedlow
Status: newopen

comment:2 Changed 12 years ago by danheberden

Description: modified (diff)

comment:3 Changed 12 years ago by Rick Waldron

Owner: set to danheberden
Status: openassigned


comment:5 Changed 12 years ago by danheberden

Resolution: fixed
Status: assignedclosed

comment:6 Changed 12 years ago by jitter

Milestone: 1.next1.5.1

comment:7 Changed 12 years ago by Timmy Willison

Ah cool, just found this bug myself.

Note: See TracTickets for help on using tickets.