Skip to main content

Bug Tracker

Side navigation

#5197 closed bug (duplicate)

Opened September 10, 2009 03:22AM UTC

Closed September 14, 2009 06:13PM UTC

Cannot pass data to event function with live() using function (){}()

Reported by: brianfreud Owned by:
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: Cc: brianfreud
Blocked by: Blocking:
Description

$('body').live('click', function (testVar) { alert(testVar); }("bar"));

Throws an error around line 2774 of 1.3.2,

proxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++;

that 'fn is undefined'.

Attachments (0)
Change History (1)

Changed September 14, 2009 06:13PM UTC by flesler comment:1

cc: → brianfreud
component: unfilledevent
resolution: → duplicate
status: newclosed

Duplicate of #4612.