Bug Tracker

Modify

Ticket #5675 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

if a custom live event is triggered using trigger() with an extra argument to pass data it does not pass the data

Reported by: heyow Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

if a custom live event is triggered using trigger() with an extra argument to pass data it does not pass the data. The second argument passed to the callback function is always the selector to which the event was bound.

See the attached example. The first result is '#test'. The second result is what i expected both to be: it is {key: 'value'}

Attachments

test.html Download (575 bytes) - added by heyow 3 years ago.

Change History

Changed 3 years ago by heyow

comment:1 Changed 3 years ago by heyow

I just found out this bug was closed by #4532, sorry.

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

comment:3 Changed 3 years ago by dmethvin

Duplicate of #4532.

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.