'use strict';dotclear.ready(()=>{const new_auth_id=jQuery('#new_auth_id');if(new_auth_id.length){const usersList=dotclear.getData('users_list');new_auth_id.autocomplete(usersList,{delay:1000,matchSubset:true,matchContains:true,});}
const new_cat=document.getElementById('new_cat');if(new_cat){const siblings=new_cat.parentNode.querySelectorAll(':not(#new_cat)');dotclear.toggleWithLegend(new_cat,siblings,{legend_click:true,});}
dotclear.condSubmit('table.posts-list td input[type=checkbox]','input[type=submit]');});