mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Move user scripts gui config to admin, cleanup
This commit is contained in:
parent
d037f9a9a4
commit
ad9c386bb3
44 changed files with 241 additions and 289 deletions
|
|
@ -67,11 +67,7 @@ for script_name, script in pairs(scripts.modules) do
|
|||
edit_url = ntop.getHttpPrefix() .. '/lua/code_viewer.lua?lua_script_path='.. path
|
||||
end
|
||||
|
||||
local input_handler = nil
|
||||
|
||||
if(script.gui.input_builder == user_scripts.threshold_cross_input_builder) then -- TODO make generic
|
||||
input_handler = "threshold_cross"
|
||||
end
|
||||
local input_handler = script.gui.input_builder
|
||||
|
||||
result[#result + 1] = {
|
||||
key = script_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue