summaryrefslogtreecommitdiff
path: root/media/javascript/dialogs.js
blob: b2bc5983a07e88f6653031aee99a82eb8c98d17c (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
function showDialog(d) {
	d.show("slow");
}


function hideDialog(d) {
	d.hide("def");
}


function showStatus(msg, disappeartime) {
	if (disappeartime == undefined) {
		disappeartime = 2500;
	}
	$('#statusbox').text(msg);
	$('#statusbox').show("slow");
	$('#statusbox').animate({}, disappeartime).hide("def");
}


function hideStatus() {
	$('#statusbox').hide("def");
}


function showProgress(msg) {
	$('#progressmsg').text(msg);
	$('#progressbox').show("slow");
}


function hideProgress(msg) {
	$('#progressbox').hide("def");
}