Search and Top Navigation
#4606 closed feature (wontfix)
Opened June 15, 2009 01:56PM UTC
Closed November 16, 2012 03:47PM UTC
Dialog: dialog('disable') does not disable OK/Cancel buttons inside dialog
Reported by: | BegemoT | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.10.0 |
Component: | ui.dialog | Version: | 1.7.2 |
Keywords: | redesign | Cc: | |
Blocked by: | Blocking: |
Description
Let me have a dialog with some form inside it, and Save/Cancel buttons. When user press Save I send form data to server via ajax. To prevent user from doing any movements while bytes are running back and forth I disable dialog ( dlg.dialog('disable') ). But this disabling only inputs in my form, not Save/Cancel buttons! I expect them to be disabled too.
Attachments (0)
Change History (11)
Changed June 16, 2009 10:44AM UTC by comment:1
milestone: | TBD → 1.8 |
---|---|
type: | bug → enhancement |
Changed November 07, 2009 05:16PM UTC by comment:2
See jquery-ui-dev thread.
Changed September 07, 2011 12:39PM UTC by comment:3
keywords: | → redesign |
---|---|
type: | enhancement → feature |
Changed October 01, 2012 02:27PM UTC by comment:5
Note that this is not happening only when opening a new dialog but even When calling the disable method of the dialog it only change the UI to semi-transparent. this is not what would be expected from the "Disable" method.
Possible workaround\\ solution:
Then I did the following workaround: http://jsfiddle.net/andrewwhitaker/p7tV7/15/
Changed October 11, 2012 02:47PM UTC by comment:6
milestone: | 1.9.0 → 1.10.0 |
---|
Changed October 15, 2012 06:02PM UTC by comment:7
Some questions related to disabled buttons:
1) If you disable buttons with the dialog this will lock the entire UI if the dialog is modal. Is this desirable?
2) What about the close icon in the header?
3) What about the header itself?...Should the dialog remain draggable in a disabled state?
Changed October 15, 2012 06:46PM UTC by comment:8
status: | new → open |
---|---|
summary: | dialog('disable') does not disable OK/Cancel buttons inside dialog → Dialog: dialog('disable') does not disable OK/Cancel buttons inside dialog |
Changed October 16, 2012 04:12PM UTC by comment:9
owner: | → bchiasson |
---|---|
status: | open → assigned |
Changed October 16, 2012 05:55PM UTC by comment:10
owner: | bchiasson |
---|---|
status: | assigned → open |
Changed November 16, 2012 03:47PM UTC by comment:11
resolution: | → wontfix |
---|---|
status: | open → closed |
Disabling dialogs doesn't really make sense. You can easily disable the individual buttons if you want. I'm inclined to actually remove the disabled option from dialog.