Skip to main content

Bug Tracker

Side navigation

#2297 closed enhancement (fixed)

Opened February 07, 2008 04:30PM UTC

Closed February 08, 2008 10:14PM UTC

[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.

Attachments (0)
Change History (2)

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

owner: paulrworth

Changed February 08, 2008 10:14PM UTC by scott.gonzal comment:2

resolution: → fixed
status: newclosed

Fixed in [4696].