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.
Patch looks good, should be applied.