Opened 13 years ago
Closed 13 years ago
#6269 closed bug (duplicate)
Plain Object Event Unbind throws exception when unbinding last handler for given event.
Reported by: | khoipham | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | event | Version: | 1.4.2 |
Keywords: | event unbind | Cc: | |
Blocked by: | Blocking: |
Description
When unbinding an event attached to a plain object, an exception is thrown when trying to remove generic event handler when if no more handlers exist.
Line 1772 calls >>
removeEvent( elem, type, elemData.handle );
removeEvent expects a DOM element, but plain object is passed instead.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | qunit2.html added |
---|
comment:1 Changed 13 years ago by
Component: | unfiled → event |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #6184.
Note: See
TracTickets for help on using
tickets.
QUnit test