#7581 closed enhancement (fixed)
[dojox.widget] Make Dialog Unclosable by underlay-click
Reported by: | ahmettaha | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | DojoX Widgets | Version: | 1.1.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
As in dojox/widget/Dialog.js line 65, please make onCancel event optional. I dont want my users to be able to click anywhere in the screen and close the dialog. I want to force them to click on a button in the dialog.
Change History (6)
comment:1 Changed 12 years ago by
Milestone: | 1.2 → 1.3 |
---|---|
Status: | new → assigned |
Summary: | Unclosable dialog → [dojox.widget] Make Dialog Unclosable by underlay-click |
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed in [15918] - went with modal:true/false
handles underlay click and escape key.
comment:4 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
the _underlay changes seem to have broken this. re-opening for 1.3 to test further.
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:6 Changed 8 years ago by
"modal" is the wrong name for the property that controls this feature, as all Dialogs are modal. Dijit calls the feature "closable".
Note: See
TracTickets for help on using
tickets.
Sounds reasonable, but we're cutoff on enhancements until 1.3 -- do you have a suggestion for the name of the parameter? I initially thought 'trulyModel' would be good, but think it's silly now. cancelable? canClose? closeOnBackgroudClick is too long. the DojoX Dialog allows the option to hide the close button, so maybe combining that param setting with disabling the underlay click connection might be a solution, which seems the most sensible approach.