Dotclear

source: admin/js/_posts_actions.js @ 3182:adf3c934173f

Revision 3182:adf3c934173f, 452 bytes checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Disable submit button unless at least one item selected whenever is possible, closes #1600

Line 
1$(function() {
2     new_auth_id = $('#new_auth_id');
3     if (new_auth_id.length) {
4          new_auth_id.autocomplete(usersList,
5          {
6               delay: 1000,
7               matchSubset: true,
8               matchContains: true
9          });
10     }
11     $('#new_cat').toggleWithLegend($('#new_cat').parent().children().not('#new_cat'), {
12          // no cookie on new category as we don't use this every day
13          legend_click: true
14     });
15     dotclear.condSubmit('table.posts-list td input[type=checkbox]','input[type=submit]');
16});
Note: See TracBrowser for help on using the repository browser.

Sites map