#7598 closed bug (duplicate)
Add the ability to specify options for the buttons.
Reported by: | David.Sullivan | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It would be nice of .dialog({buttons: {}) accepted a buttonOptions for each of the buttons. Example
$('#myDialog').dialog({ buttons: [{ text: 'Test', butttonOptions: { //Any valid .button options should be able to be passed here. icons: { primary: 'ui-icon-disk' } }}] });
I see where the change to .dialog need to be done and will be submitting a pull request.
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Submited pull request. https://github.com/jquery/jquery-ui/pull/416 Demo: http://jsbin.com/ebowan/9/edit