Bug Tracker

Modify

Ticket #5945 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

live namespaced events

Reported by: vectorjohn Owned by: brandon
Priority: major Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: live namespace Cc:
Blocking: Blocked by:

Description

Namespaced events don't work with live anymore (they are never fired).

e.g., $('h1').live('click.foo', function(){ alert('clicked'); });

nothing happens when an h1 is clicked.

See this test:  http://vectorjohn.com/tests/jquery_live.html

Change History

comment:1 Changed 4 years ago by aheckmann

I just ran into this too. I'll need to back 1.4.1 out until this is fixed.

comment:2 Changed 4 years ago by john

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

Honestly, I'm a bit surprised that they ever worked, in any capacity. I just landed a proper implementation of this.

 http://github.com/jquery/jquery/commit/be2407e233f1731e3f0ec79bdc8efaadd1f32f9f

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.