Opened 4 years ago
Last modified 3 years ago
#19001 new defect
Click event handled on Dijits in disabled state
Reported by: | dylan | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.14 |
Component: | Dijit - Form | Version: | 1.12.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
As reported by Bjoern Burger:
- Put a dijit/form/Button on a simple html page
- Use a onClick handler, which:
- Set disabled=true
- Run javascript code
- Set disabled=false
- First click on button
- Button is now disabled
- Click again on this disabled button
- Check your console > the onClick handler runs twice!
Change History (2)
comment:1 Changed 4 years ago by
comment:2 Changed 3 years ago by
Milestone: | 1.12.3 → 1.14 |
---|
Note: See
TracTickets for help on using
tickets.
Our code example on jsfiddle: http://jsfiddle.net/aspj1ta7/1/