Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2297 closed enhancement (fixed)

[dialog] split out modal options

Reported by: Scott González Owned by: rdworth
Priority: major Milestone: 1.5
Component: ui.core 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 (4)

comment:1 Changed 12 years ago by paul

Owner: changed from paul to rworth

comment:2 Changed 12 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in [4696].

comment:3 Changed 12 years ago by (none)

Milestone: 1.2.3

Milestone 1.2.3 deleted

comment:4 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.