Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#10717 closed defect (duplicate)

dijit.form.Button click sensitivity when submitting

Reported by: remmons Owned by:
Priority: high Milestone: tbd
Component: Dijit - Form Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:


When using a dojo button, there is a sensitivity to where you can click the button when using type="submit".

The following are two situations that I've identified when clicking a dojo button along the very bottom of the button and the behavior isn't desirable. (Clicking in a 'normal' place on the button works as expected)

Nothing happens here when clicking the bottom of the button:

<button dojoType="dijit.form.Button" type="submit">Submit Button</button>

The javascript is fired, however the submit is not when clicking on the bottom.

<button dojoType="dijit.form.Button" type="submit" onclick="alert('test');">Submit Button</button>

This can be seen on the following page using the "Plain Submit" button at the bottom of the page.

I've reproduced this in Releases 1.32 and 1.4 using Firefox 3.5 and IE 7 & 8.

Change History (2)

comment:1 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Right, dup of #6880 I think.

comment:2 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.