Opened 2 years ago

Last modified 23 months 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:

  1. Put a dijit/form/Button on a simple html page
  2. Use a onClick handler, which:
    1. Set disabled=true
    2. Run javascript code
    3. Set disabled=false
  3. First click on button
  4. Button is now disabled
  5. Click again on this disabled button
  6. Check your console > the onClick handler runs twice!

Change History (2)

comment:1 Changed 2 years ago by bjoern.burger

Our code example on jsfiddle: http://jsfiddle.net/aspj1ta7/1/

comment:2 Changed 23 months ago by dylan

Milestone: 1.12.31.14
Note: See TracTickets for help on using tickets.