mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Unify syslog with user scripts API
This commit is contained in:
parent
b9fa26174c
commit
ab0094c1c3
10 changed files with 52 additions and 76 deletions
|
|
@ -1140,7 +1140,7 @@ function drawAlertSourceSettings(entity_type, alert_source, delete_button_msg, d
|
|||
local to_save = false
|
||||
|
||||
-- Needed to handle the defaults
|
||||
local available_modules = user_scripts.load(interface.getId(), entity_type, nil, true --[[ ignore disabled ]])
|
||||
local available_modules = user_scripts.load(user_scripts.script_types.traffic_element, interface.getId(), entity_type, nil, true --[[ ignore disabled ]])
|
||||
|
||||
if((_POST["to_delete"] ~= nil) and (_POST["SaveAlerts"] == nil)) then
|
||||
if _POST["to_delete"] == "local" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue