Bug Tracker

Opened 12 years ago

Closed 12 years ago

#2297 closed enhancement (fixed)

[dialog] split out modal options

Reported by: scottgonzalez Owned by: rworth
Priority: major Milestone: 1.2.3
Component: ui Version: 1.2.2
Keywords: dialog modal Cc:
Blocked by: Blocking:

Description

The modal option for dialogs should only be a boolean. Setting the css for the overlay should be it's own option.

$('#foo').dialog({
    modal: {
        opacity: 0.5
    }
});

becomes:

$('#foo').dialog({
    modal: true,
    overlay: {
        opacity: 0.5
    }
});

This will allow the user to set a default configuration for all modal dialogs when #2295 is complete.

Change History (2)

comment:1 Changed 12 years ago by paul

Owner: changed from paul to rworth

comment:2 Changed 12 years ago by scott.gonzal

Resolution: fixed
Status: newclosed

Fixed in [4696].

Note: See TracTickets for help on using tickets.