dcAdvancedCleaner/js/backend.js

13 lines
No EOL
446 B
JavaScript

/*global $, dotclear */
'use strict';
Object.assign(dotclear.msg, dotclear.getData('dcAdvancedCleaner'));
$(() => {
$('#parts_menu input[type=submit]').hide();
$('#parts_menu #select_part').on('change', function () {this.form.submit();});
dotclear.condSubmit('#form-funcs td input[type=checkbox]', '#form-funcs #do-action');
$('#form-funcs').on('submit', function () {
return window.confirm(dotclear.msg.confirm_delete);
});
});