Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#7229 closed bug (fixed)

1.4.3 regression - passing null to event handler

Reported by: matt.parlane@… Owned by: Rick Waldron
Priority: high Milestone: 1.4.4
Component: event Version: 1.4.3
Keywords: Cc: jdalton
Blocked by: Blocking:

Description

in 1.4.2, this works:

$('body').click(null);

but in 1.4.3, it gives a "handler is null" in the jQuery.event.add function.

It can be worked around in code of course, but I figured you'd want a point release to be backwards-compatible.

Change History (11)

comment:1 Changed 13 years ago by snover

Keywords: needsreview added

comment:2 Changed 13 years ago by Rick Waldron

Component: unfiledevent
Priority: undecidedhigh
Status: newopen

comment:3 Changed 13 years ago by Rick Waldron

Owner: set to Rick Waldron
Status: openassigned

comment:7 Changed 13 years ago by Rick Waldron

Cc: jdalton added

Disregard previous pull requests.

http://github.com/jquery/jquery/pull/71

Reflects outcome of suggested handler evaluation by jdalton

comment:8 Changed 13 years ago by Rick Waldron

#6801 is a duplicate of this ticket.

comment:9 Changed 13 years ago by john

Milestone: 1.next1.4.4
Resolution: fixed
Status: assignedclosed

comment:10 Changed 13 years ago by matt.parlane@…

Thanks all, very cool.

comment:11 Changed 13 years ago by dmethvin

Keywords: needsreview removed
Note: See TracTickets for help on using tickets.