Bug Tracker

Opened 12 years ago

Closed 12 years ago

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

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 (1)

fixed-load.diff (1.5 KB) - added by flesler 12 years ago.
Changes on ajax.js and the test that would fail w/o this change.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by flesler

Attachment: fixed-load.diff added

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

comment:1 Changed 12 years ago by joern

Patch looks good, should be applied.

comment:2 Changed 12 years ago by flesler

Resolution: fixed
Status: newclosed

Applied at [5501] and extra test case at [5502].

Note: See TracTickets for help on using tickets.