mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
add confirm modal for disabling all user scripts (#3917)
This commit is contained in:
parent
6f80b017a0
commit
6e4e195f56
3 changed files with 17 additions and 2 deletions
|
|
@ -1746,7 +1746,7 @@ $(document).ready(function () {
|
|||
});
|
||||
});
|
||||
|
||||
$(`#btn-disable-all`).click(async function() {
|
||||
$(`#disable-all-modal #btn-confirm-action`).click(async function() {
|
||||
|
||||
$(this).attr("disabled", "disabled");
|
||||
$.post(`${http_prefix}/lua/toggle_all_user_scripts.lua`, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue