Changeset 4696
- Timestamp:
- 02/08/08 22:03:04 (1 year ago)
- Location:
- trunk/ui
- Files:
-
- 2 modified
-
tests/uiTest.dialog.js (modified) (1 diff)
-
ui.dialog.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/tests/uiTest.dialog.js
r4661 r4696 42 42 "modal" : { 43 43 "false" : "$('#foo').dialog({\n\t modal: false \n});", 44 "true" : "$('#foo').dialog({\n\t modal: true \n});", 45 "Css-BgWhiteOpacity0.5" : "$('#foo').dialog({\n\t modal: { backgroundColor: 'white', opacity: 0.5 } \n})" 44 "true" : "$('#foo').dialog({\n\t modal: true \n});" 45 }, 46 "overlay" : { 47 "BgWhiteOpacity0.5" : "$('#foo').dialog({\n\t modal: true, \n\t overlay: { backgroundColor: 'white', opacity: 0.5 } \n})" 46 48 }, 47 49 "position" : { -
trunk/ui/ui.dialog.js
r4695 r4696 118 118 119 119 this.open = function() { 120 options.modal && overlay.show(self, options. modal);120 options.modal && overlay.show(self, options.overlay); 121 121 uiDialog.appendTo('body'); 122 122 var wnd = $(window), doc = $(document), top = doc.scrollTop(), left = doc.scrollLeft(); … … 201 201 minWidth: 150, 202 202 modal: false, 203 overlay: {}, 203 204 position: 'center', 204 205 resizable: true,
