Revision 5f75e534 admin/static/main.js

b/admin/static/main.js
2 2
	$('table.id-sorted').tablesorter({ sortList: [[0, 0]] });
3 3

  
4 4
	$('tr.row-template').hide();
5
	$('div.alert-message').hide();
5 6
});
6 7

  
7 8
$('.add-row').live('click', function() {
......
15 16
$('.delete-row').live('click', function() {
16 17
	$(this).parents('tr').remove();
17 18
});
19

  
20
$('.needs-confirm').live('click', function() {
21
	$('div.alert-message').show('fast');
22
	$('div.actions').hide('fast');
23
	return false;
24
});
25

  
26
$('.alert-close').live('click', function() {
27
	$('div.alert-message').hide('fast');
28
	$('div.actions').show('fast');
29
	return false;
30
});
31

  

Also available in: Unified diff