mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
Fix #2136 allow admin to add exception to cleanup list
This commit is contained in:
parent
b01c36b792
commit
e98ba87f8e
6 changed files with 60 additions and 1 deletions
12
modules/admin/tpl/js/cleanup.js
Normal file
12
modules/admin/tpl/js/cleanup.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
(function() {
|
||||
$(function() {
|
||||
$('.add_cleanup_exception').on('click', function() {
|
||||
const row = $(this).parents('tr');
|
||||
exec_json('admin.procAdminAddCleanupException', { path: $(this).data('path') }, function() {
|
||||
row.fadeOut();
|
||||
});
|
||||
});
|
||||
});
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue