mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
3829a37ca1
Fixes #3534 - Dialog: Modal dialog disables all input elements on page. Fixes #4671 - Dialog: Modal Dialog disables vertical scroll bar in Chrome & Safari. Fixes #4995 - Dialog: Modal Dialog's overlay dissapears in IE when content is tall. Fixes #5388 - Dialog: Don't change z-index when already at the top. Fixes #5466 - Dialog: "modal" Dialog Incorrectly Cancels Input Events. Fixes #5762 - Dialog: Get rid of z-index workaround, document it instead. Fixes #6267 - Dialog: checkboxes that inherit a z-index < jqueryui.dialog z-index don't work. Fixes #7051 - Dialog: modal prevents tab key from moving focus off slider handle. Fixes #7107 - Dialog: Modal dialog event loss with high zindex child elements (FF 3.6). Fixes #7120 - Dialog: Modal operation interrupts drag drop marker functionality on gmaps. Fixes #8172 - Dialog: Change event cancelled when opening modal dialog from another modal dialog. Fixes #8583 - Dialog: Mouse event wrongly stopped. Fixes #8722 - Dialog: Remove stack option. Fixes #8729 - Dialog: Remove zIndex option.
34 lines
570 B
JavaScript
34 lines
570 B
JavaScript
TestHelpers.commonWidgetTests( "dialog", {
|
|
defaults: {
|
|
autoOpen: true,
|
|
buttons: {},
|
|
closeOnEscape: true,
|
|
closeText: 'close',
|
|
disabled: false,
|
|
dialogClass: '',
|
|
draggable: true,
|
|
height: 'auto',
|
|
hide: null,
|
|
maxHeight: false,
|
|
maxWidth: false,
|
|
minHeight: 150,
|
|
minWidth: 150,
|
|
modal: false,
|
|
position: {
|
|
my: 'center',
|
|
at: 'center',
|
|
of: window,
|
|
collision: 'fit',
|
|
using: $.ui.dialog.prototype.options.position.using
|
|
},
|
|
resizable: true,
|
|
show: null,
|
|
stack: true,
|
|
title: '',
|
|
width: 300,
|
|
|
|
// callbacks
|
|
create: null
|
|
}
|
|
});
|