Skip to main content

Bug Tracker

Side navigation

#7229 closed bug (fixed)

Opened October 17, 2010 09:41PM UTC

Closed October 25, 2010 08:13PM UTC

Last modified November 02, 2010 02:17AM UTC

1.4.3 regression - passing null to event handler

Reported by: matt.parlane@gmail.com Owned by: rwaldron
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.

Attachments (0)
Change History (11)

Changed October 17, 2010 11:39PM UTC by snover comment:1

keywords: → needsreview

Changed October 22, 2010 08:49PM UTC by rwaldron comment:2

component: unfiledevent
priority: undecidedhigh
status: newopen

Changed October 22, 2010 09:26PM UTC by rwaldron comment:3

owner: → rwaldron
status: openassigned

Changed October 23, 2010 02:47PM UTC by rwaldron comment:5

Changed October 23, 2010 07:19PM UTC by rwaldron comment:6

Changed October 24, 2010 04:23PM UTC by rwaldron comment:7

cc: → jdalton

Disregard previous pull requests.

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

Reflects outcome of suggested handler evaluation by jdalton

Changed October 25, 2010 07:22PM UTC by rwaldron comment:8

#6801 is a duplicate of this ticket.

Changed October 25, 2010 08:13PM UTC by john comment:9

milestone: 1.next1.4.4
resolution: → fixed
status: assignedclosed

Changed October 25, 2010 08:16PM UTC by matt.parlane@gmail.com comment:10

Thanks all, very cool.

Changed November 02, 2010 02:17AM UTC by dmethvin comment:11

keywords: needsreview