Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5373 closed bug (worksforme)

[BUG] events: live + namespace

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

Description

when the "live" method is used to bind events with namespaces, all events under the same namespace will be triggered, instead of the specified event.

jQuery("div#id")
 .live("ns.load", function(){alert("ns.load");})
 .live("ns.unload", function(){alert("ns.unload");})
 .live("ns.whatever", function(){alert("ns.whatever");});

jQuery("div#id").trigger("ns.load");


This does not happen using the "bind" method.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.