root / snf-astakos-app / astakos / im / static / im / js / main.js @ 143d8a9d
History | View | Annotate | Download (413 Bytes)
1 | 64cd4730 | Antony Chazapis | $(function() { |
---|---|---|---|
2 | 64cd4730 | Antony Chazapis | $('table.id-sorted').tablesorter({ sortList: [[0, 0]] }); |
3 | 64cd4730 | Antony Chazapis | |
4 | 64cd4730 | Antony Chazapis | $('tr.row-template').hide(); |
5 | 64cd4730 | Antony Chazapis | $('div.alert-message').hide(); |
6 | 64cd4730 | Antony Chazapis | }); |
7 | 64cd4730 | Antony Chazapis | |
8 | 64cd4730 | Antony Chazapis | $('.needs-confirm').live('click', function() { |
9 | 64cd4730 | Antony Chazapis | $('div.alert-message').show('fast'); |
10 | 64cd4730 | Antony Chazapis | $('div.actions').hide('fast'); |
11 | 64cd4730 | Antony Chazapis | return false; |
12 | 64cd4730 | Antony Chazapis | }); |
13 | 64cd4730 | Antony Chazapis | |
14 | 64cd4730 | Antony Chazapis | $('.alert-close').live('click', function() { |
15 | 64cd4730 | Antony Chazapis | $('div.alert-message').hide('fast'); |
16 | 64cd4730 | Antony Chazapis | $('div.actions').show('fast'); |
17 | 64cd4730 | Antony Chazapis | return false; |
18 | 64cd4730 | Antony Chazapis | }); |