Modify ↓
Ticket #2819 (closed bug: fixed)
$.fn.load is being overwritten
| Reported by: | flesler | Owned by: | flesler |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.4 |
| Component: | event | Version: | 1.2.3 |
| Keywords: | load event ajax | Cc: | |
| Blocking: | Blocked by: |
Description
Scott and I realized, that the $.fn.load created on the event module, is simply overwritten later in the ajax module.
$().load( fn ); is supported, as the functionality is specified on the ajax module, but $().load() doesn't work.
I checked the docs, and actually, $().load() is not a documented option, but it is an expected behavior in my opinion.
Even if it's not, then the load created on the event module is useless and should be removed.
Attachments
Change History
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.


Changes on ajax.js and the test that would fail w/o this change.