#6801 closed bug (duplicate)
jQuery.event.add() does not check against undefined handlers
Reported by: | hyponiq | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.2 |
Component: | event | Version: | 1.4.2 |
Keywords: | event, handler | Cc: | |
Blocked by: | Blocking: |
Description
This is a cross browser issue:
jQuery.event.add() does not check whether 'handler' has been defined. An error is thrown (in (at least) all major browser) when properties of 'handler' are attempted be accessed on an undefined object.
Change History (4)
comment:1 Changed 13 years ago by
comment:3 Changed 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I have, in my own copy of jQuery, fixed the issue (for brevity, irrelevant material replaced with "
// ... rest ... //
"):