mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix for #836
Fixed bug in footer.lua that caused a JS error that prevented the page from being updated Moved utility functions from footer lua script to ntopng_utils.js
This commit is contained in:
parent
a6839c2de0
commit
ff20879987
6 changed files with 126 additions and 130 deletions
|
|
@ -91,7 +91,7 @@ else
|
|||
label, fnctn = label2criteriakey(criteria)
|
||||
|
||||
c = host.criteria
|
||||
print("\"column_"..criteria.."\" : \"" .. fnctn(c[label]).. "\", ")
|
||||
if(c ~= nil) then print("\"column_"..criteria.."\" : \"" .. fnctn(c[label]).. "\", ") end
|
||||
|
||||
if((host["throughput_trend_"..throughput_type] ~= nil)
|
||||
and (host["throughput_trend_"..throughput_type] > 0)) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue