Bug Tracker

Modify

Ticket #7150 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Events can't be triggered on objects that already contain an "events" property

Reported by: bentruyman Owned by:
Priority: high Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: triggerHandler Cc:
Blocking: Blocked by:

Description

If an event is bound to an arbitrary object, and it already has an "events" property, the handlers will not be fired.

Haven't determined the exact cause yet but line #347 of event.js seems like a good starting place.

I've attached a basic test.

Attachments

trigger_test.js Download (271 bytes) - added by bentruyman 3 years ago.

Change History

Changed 3 years ago by bentruyman

comment:1 Changed 3 years ago by bentruyman

I should add, I only encountered this error while using 1.4.3rc1.

comment:2 Changed 3 years ago by john

  • Status changed from new to closed
  • Version set to 1.4.2
  • Resolution set to fixed

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.