#9034 closed defect (fixed)
dijit.Dialog Example 4 is broken
Reported by: | burnsmicro | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Documentation | Version: | 1.3.0 |
Keywords: | Dialog Example; dijit.Dialog Example | Cc: | |
Blocked By: | Blocking: |
Description
http://docs.dojocampus.org/dijit/Dialog --> Example 4:
"Confirming Dialog Contents"
Clicking the "Ok" button in the dialog box should execute checkData(), line 28. This code is not executed
This button is defined in markup on lines 71/72:
<button dojoType=dijit.form.Button type="submit"
onSubmit="return checkData();">OK</button>
Change History (2)
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 12 years ago by
Component: | Dijit → Documentation |
---|
Note: See
TracTickets for help on using
tickets.
Right again, thanks for the heads up; I fixed the example. onSubmit isn't supported on buttons, only on forms (and not on Dialog either even though Dialog is form-like). Used onClick instead.