mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements periodic discovery prefs (wip)
This commit is contained in:
parent
5db3192169
commit
60ad184cf3
5 changed files with 61 additions and 3 deletions
|
|
@ -3324,7 +3324,7 @@ function makeResolutionButtons(fmt_to_data, ctrl_id, fmt, value, extra)
|
|||
js_specific_code = string.gsub(js_specific_code, "\n", "")
|
||||
|
||||
if tonumber(value) ~= nil then
|
||||
-- returns the new value with selected resolution
|
||||
-- returns the new value with selected resolution
|
||||
return {html=html, init=js_init_code, js=js_specific_code, value=tonumber(value) / fmt_to_data[selected].value}
|
||||
else
|
||||
return {html=html, init=js_init_code, js=js_specific_code, value=nil}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue