Reworks reload of in-mem preferences and runtimeprefs.json dump

This commit is contained in:
Simone Mainardi 2020-10-13 12:49:48 +02:00
parent 3912459892
commit 5b878a2a7a
10 changed files with 115 additions and 34 deletions

View file

@ -1561,9 +1561,4 @@ aysHandleForm("form", {
$("form[id!='search-host-form']").validator({disable:true});
</script>]])
if(_SERVER["REQUEST_METHOD"] == "POST") then
-- Something has changed
ntop.reloadPreferences()
end
end --[[ haveAdminPrivileges ]]