aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/dialog_common.js
blob: 9657a9887f598bdb9e845dcdaec0a89d532ceb50 (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
35
36
37
38
39
40
41
42
43
TestHelpers.commonWidgetTests( "dialog", {
	defaults: {
		appendTo: "body",
		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,
		title: null,
		width: 300,

		// callbacks
		beforeClose: null,
		close: null,
		create: null,
		drag: null,
		dragStart: null,
		dragStop: null,
		focus: null,
		open: null,
		resize: null,
		resizeStart: null,
		resizeStop: null
	}
});