Skip to main content

Bug Tracker

Side navigation

#6269 closed bug (duplicate)

Opened March 11, 2010 09:49PM UTC

Closed March 11, 2010 10:44PM UTC

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:

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)
  • qunit2.html (1.9 KB) - added by khoipham March 11, 2010 09:50PM UTC.

    QUnit test

Change History (1)

Changed March 11, 2010 10:44PM UTC by john comment:1

component: unfiledevent
resolution: → duplicate
status: newclosed

Duplicate of #6184.