Line | |
---|
1 | $(function() { |
---|
2 | $('.checkboxes-helpers').each(function() { |
---|
3 | dotclear.checkboxesHelpers(this,undefined,'#form-blogs td input[type=checkbox]','#form-blogs #do-action'); |
---|
4 | }); |
---|
5 | $('#form-blogs td input[type=checkbox]').enableShiftClick(); |
---|
6 | dotclear.condSubmit('#form-blogs td input[type=checkbox]','#form-blogs #do-action'); |
---|
7 | $('#form-blogs').submit(function() { |
---|
8 | var action = $(this).find('select[name="action"]').val(); |
---|
9 | if (action == 'delete') { |
---|
10 | return window.confirm(dotclear.msg.confirm_delete_blog.replace('%s',$('input[name="blogs[]"]:checked').size())); |
---|
11 | } |
---|
12 | }); |
---|
13 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.