Skip to main content

Search and Top Navigation

#7598 closed bug (duplicate)

Opened August 02, 2011 10:39PM UTC

Closed August 02, 2011 11:13PM UTC

Last modified August 02, 2011 11:13PM UTC

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.

Attachments (0)
Change History (3)

Changed August 02, 2011 10:54PM UTC by David.Sullivan comment:1

Changed August 02, 2011 11:13PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Changed August 02, 2011 11:13PM UTC by scottgonzalez comment:3

Duplicate of #6830.