mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
Fix #2136 add button to reset the cleanup exception list
This commit is contained in:
parent
e98ba87f8e
commit
d285a90e88
6 changed files with 32 additions and 1 deletions
|
|
@ -2,11 +2,18 @@
|
|||
|
||||
(function() {
|
||||
$(function() {
|
||||
$('.add_cleanup_exception').on('click', 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();
|
||||
});
|
||||
})
|
||||
});
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue