Skip to main content

Search and Top Navigation

#6811 closed feature (duplicate)

Opened January 05, 2011 04:36PM UTC

Closed January 05, 2011 04:38PM UTC

Last modified January 05, 2011 04:38PM UTC

Feature Request. jQuery UI $.dialog() set default dialog button.

Reported by: mrbinky3000 Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:
Description

It would be extremely handy if you could select which dialog button will be highlighted when the dialog is first opened. For example "Do you wish to delete this record?" with the buttons "Yes" and "No". Currently, since "Yes" is first, it is the default button. However, I'd like "No" to be the default action. I suppose I could make "No" the first button in the array--but come on? How hard would it be to add a little flag for the default selected button?

Attachments (0)
Change History (2)

Changed January 05, 2011 04:38PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Changed January 05, 2011 04:38PM UTC by scottgonzalez comment:2

Duplicate of #4731.