enhancePostContent/js/backend.js

13 lines
512 B
JavaScript

/*global $, dotclear */
'use strict';
$(function () {
$('#filters_menu input[type=submit]').hide();
$('#filters_menu #part').on('change', function () {this.form.submit();});
$('.checkboxes-helpers').each(function () {
dotclear.checkboxesHelpers(this, undefined, '#form-records td input[type=checkbox]', '#form-records #del-action');
});
$('#form-records td input[type=checkbox]').enableShiftClick();
dotclear.condSubmit('#form-records td input[type=checkbox]', '#form-records #del-action');
});