Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#828 closed bug (invalid)

Can't cancel default action and/or stop propagation in .toggle()

Reported by: rich.manalang@… Owned by:
Priority: major Milestone: 1.1
Component: event Version: 1.1
Keywords: Cc:
Blocked by: Blocking:

Description

$("#someelem").toggle(function() {

dosomethinga(); return false;

}, function() {

dosomethingb(); return false();

})

In 1.0.4, the .toggle() method automatically canceled the default action and bubbling. In 1.1 (GA), it seems that you have to do it manually (which is the correct way to go), but when I add the obligatory "return false" to the functions, it doesn't seem to do anything.

Rich

Change History (2)

comment:1 Changed 13 years ago by anonymous

You can close this... this bug was caused in my app by the $(a,c) problem (#804)

comment:2 Changed 13 years ago by john

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