Skip to main content

Bug Tracker

Side navigation

#8374 closed bug (duplicate)

Opened February 24, 2011 05:48PM UTC

Closed February 24, 2011 08:04PM UTC

Last modified February 24, 2011 08:04PM UTC

When using .click() on an input a delegate gets fired before the input's checked has been updated

Reported by: greg.waxman@peoplematter.com Owned by:
Priority: low Milestone: 1.next
Component: event Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

I ran across what I believe to be a bug that dates back all the way to 1.4.2 and still exists in the latest git. When I call $(input).click(), the delegate gets called as expected, but it happens before the input's checked value gets updated appropriately. This makes it a requirement to call $(input)[0].click() to get the proper order to occur and the delegates to work correctly should they need the checked value.

1. jsFiddle is of the problem: http://jsfiddle.net/xm6vv/

2. jsFiddle of how it should work: http://jsfiddle.net/GMZjB/

Attachments (0)
Change History (2)

Changed February 24, 2011 08:04PM UTC by jitter comment:1

component: unfiledevent
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed February 24, 2011 08:04PM UTC by jitter comment:2

Duplicate of #3827.