Bug Tracker

Ticket #2297 (closed enhancement: fixed)

Opened 10 months ago

Last modified 10 months ago

[dialog] split out modal options

Reported by: scott.gonzalez Assigned to: rworth
Type: enhancement Priority: major
Milestone: 1.2.3 Component: ui
Version: 1.2.2 Keywords: dialog modal
Cc: Needs: Review

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

Change History

Changed 10 months ago by paul

  • owner changed from paul to rworth

Changed 10 months ago by scott.gonzalez

  • status changed from new to closed
  • resolution set to fixed

Fixed in [4696].

Note: See TracTickets for help on using tickets.