mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
19 lines
502 B
JavaScript
19 lines
502 B
JavaScript
'use strict';
|
|
|
|
(function() {
|
|
$(function() {
|
|
$('.add_cleanup_exception').on('click', function(event) {
|
|
event.preventDefault();
|
|
const row = $(this).parents('tr');
|
|
exec_json('admin.procAdminAddCleanupException', { path: $(this).data('path') }, function() {
|
|
row.fadeOut();
|
|
});
|
|
});
|
|
$('.reset_exception').on('click', function(event) {
|
|
event.preventDefault();
|
|
exec_json('admin.procAdminResetCleanupException', {}, function() {
|
|
window.location.reload();
|
|
});
|
|
})
|
|
});
|
|
})();
|