Seditio Source
Root |
./othercms/dotclear-2.22/admin/js/_blogs.js
'use strict';$(()=>{$('.checkboxes-helpers').each(function(){dotclear.checkboxesHelpers(this,undefined,'#form-blogs td input[type=checkbox]','#form-blogs #do-action');});$('#form-blogs td input[type=checkbox]').enableShiftClick();dotclear.condSubmit('#form-blogs td input[type=checkbox]','#form-blogs #do-action');dotclear.responsiveCellHeaders(document.querySelector('#form-blogs table'),'#form-blogs table',1);$('#form-blogs').on('submit',function(){if($(this).find('select[name="action"]').val()=='delete'){return window.confirm(dotclear.msg.confirm_delete_blog.replace('%s',$('input[name="blogs[]"]:checked').length));}});});