* fix for #3299

* removed useless function

* fix logic
This commit is contained in:
Gabriele Pappalardo 2020-01-23 18:14:55 +01:00 committed by Emanuele Faranda
parent 8369bde43d
commit dae4889404
4 changed files with 40 additions and 36 deletions

View file

@ -64,6 +64,7 @@ end
apps_and_categories = {cat_groups, app_groups}
-- print config_list.html template
print(template.gen("script_list.html", {
script_list = {
@ -73,7 +74,6 @@ print(template.gen("script_list.html", {
confset_id = confset_id,
script_subdir = script_subdir,
confset_name = confset_name,
timeout_csrf = timeout_csrf,
script_filter = script_filter,
page_url = ntop.getHttpPrefix() .. string.format("/lua/admin/edit_configset.lua?confset_id=%u&subdir=%s", confset_id, script_subdir),
apps_and_categories = json.encode(apps_and_categories),