Bug Tracker

Ticket #2819 (closed bug: fixed)

Opened 1 year ago

Last modified 7 months ago

$.fn.load is being overwritten

Reported by: flesler Assigned to: flesler
Type: bug Priority: minor
Milestone: 1.2.4 Component: event
Version: 1.2.3 Keywords: load event ajax
Cc: Needs: Commit

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

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

Change History

Changed 1 year ago by flesler

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

Changed 1 year ago by joern

Patch looks good, should be applied.

Changed 1 year ago by flesler

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.