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.