dcAdvancedCleaner/js/backend.js

13 lines
446 B
JavaScript
Raw Permalink Normal View History

2021-10-26 22:10:42 +00:00
/*global $, dotclear */
'use strict';
2023-04-24 00:05:05 +00:00
Object.assign(dotclear.msg, dotclear.getData('dcAdvancedCleaner'));
$(() => {
2021-10-26 22:10:42 +00:00
$('#parts_menu input[type=submit]').hide();
2023-04-16 00:48:32 +00:00
$('#parts_menu #select_part').on('change', function () {this.form.submit();});
2021-10-26 22:10:42 +00:00
dotclear.condSubmit('#form-funcs td input[type=checkbox]', '#form-funcs #do-action');
2023-04-24 00:05:05 +00:00
$('#form-funcs').on('submit', function () {
return window.confirm(dotclear.msg.confirm_delete);
});
2021-10-26 22:10:42 +00:00
});