Changeset 3706:170617361020 for admin/js/_posts_actions.js
- Timestamp:
- 02/16/18 16:01:59 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_posts_actions.js
r3182 r3706 1 /*global $, dotclear, usersList */ 2 'use strict'; 3 1 4 $(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]'); 5 var new_auth_id = $('#new_auth_id'); 6 if (new_auth_id.length) { 7 new_auth_id.autocomplete(usersList, { 8 delay: 1000, 9 matchSubset: true, 10 matchContains: true 11 }); 12 } 13 $('#new_cat').toggleWithLegend($('#new_cat').parent().children().not('#new_cat'), { 14 // no cookie on new category as we don't use this every day 15 legend_click: true 16 }); 17 dotclear.condSubmit('table.posts-list td input[type=checkbox]', 'input[type=submit]'); 16 18 });
Note: See TracChangeset
for help on using the changeset viewer.