Skip to main content

Search and Top Navigation

#2297 closed enhancement (fixed)

Opened February 07, 2008 04:30PM UTC

Closed February 08, 2008 10:14PM UTC

Last modified February 26, 2009 11:26AM UTC

[dialog] split out modal options

Reported by: scottgonzalez 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.

Attachments (0)
Change History (4)

Changed February 08, 2008 04:08PM UTC by paul comment:1

owner: paulrworth

Changed February 08, 2008 10:14PM UTC by scottgonzalez comment:2

resolution: → fixed
status: newclosed

Fixed in [4696].

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.3

Milestone 1.2.3 deleted

Changed February 26, 2009 11:26AM UTC by paul comment:4

milestone: → 1.5