Skip to main content

Bug Tracker

Side navigation

#2819 closed bug (fixed)

Opened May 07, 2008 07:49PM UTC

Closed May 08, 2008 04:24PM UTC

$.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 May 07, 2008 07:49PM UTC.

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

Change History (2)

Changed May 07, 2008 10:10PM UTC by joern comment:1

Patch looks good, should be applied.

Changed May 08, 2008 04:24PM UTC by flesler comment:2

resolution: → fixed
status: newclosed

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