Skip to main content

Bug Tracker

Side navigation

#828 closed bug (invalid)

Opened January 16, 2007 06:37PM UTC

Closed January 20, 2007 04:10AM UTC

Last modified June 19, 2007 09:25AM UTC

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

Reported by: rich.manalang@gmail. 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

Attachments (0)
Change History (2)

Changed January 18, 2007 05:13AM UTC by anonymous comment:1

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

Changed January 20, 2007 04:10AM UTC by john comment:2

resolution: → invalid
status: newclosed