aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_defaults.js
blob: 9f2e4c6a82cd049f83385c5a32b56d1a20e7d941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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,
		zIndex: 1000,

		// callbacks
		create: null
	}
});