mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Hides a configuration field when not needed
This commit is contained in:
parent
3bce6792be
commit
b5d61a6d98
1 changed files with 3 additions and 1 deletions
|
|
@ -828,7 +828,9 @@ function printStatsTimeseries()
|
|||
elementToSwitch, showElementArray, javascriptAfterSwitch, showElement)
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["rrd_files_retention"].title, subpage_active.entries["rrd_files_retention"].description,
|
||||
"ntopng.prefs.", "rrd_files_retention", 30, "number", nil, nil, nil, {min=1, max=365, --[[ TODO check min/max ]]})
|
||||
"ntopng.prefs.", "rrd_files_retention", 30, "number",
|
||||
showElement,
|
||||
nil, nil, {min=1, max=365, --[[ TODO check min/max ]]})
|
||||
|
||||
print('<tr><th colspan=2 class="info">'..i18n('prefs.other_timeseries')..'</th></tr>')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue