Modify ↓
Ticket #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 | |
| Blocking: | Blocked by: |
Description (last modified by danheberden) (diff)
$.ajax( 'url' ); fails with
Chrome: Uncaught TypeError: Cannot use 'in' operator to search for 'context' in /echo/html FF4: 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
comment:1 Changed 2 years ago by danheberden
- Cc jaubourg added
- Priority changed from undecided to low
- Status changed from new to open
- Component changed from unfiled to ajax
- Description modified (diff)
comment:3 Changed 2 years ago by rwaldron
- Owner set to danheberden
- Status changed from open to assigned
Confirmed
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
