mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
implemented toggle_user_script.lua on toggle buttons
This commit is contained in:
parent
1a855b8cf8
commit
611e6f2801
1 changed files with 2 additions and 1 deletions
|
|
@ -1186,10 +1186,11 @@ const create_enabled_button = (row_data) => {
|
|||
}
|
||||
};
|
||||
|
||||
$.post(`${http_prefix}/lua/edit_user_script_config.lua`, {
|
||||
$.post(`${http_prefix}/lua/toggle_user_script.lua`, {
|
||||
script_subdir: script_subdir,
|
||||
script_key: row_data.key,
|
||||
csrf: csrf_toggle_buttons,
|
||||
action: (is_enabled) ? 'disable' : 'enable',
|
||||
JSON: JSON.stringify(data),
|
||||
confset_id: confset_id
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue