mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
trafficwidget, invert option needed json parsing
This commit is contained in:
parent
b0ad46aa32
commit
3477fc23e1
@ -276,7 +276,7 @@ events.push(function() {
|
||||
window.graph_backgroundupdate = <?=json_encode($tg_backgroundupdate)?>;
|
||||
|
||||
window.interval = <?=json_encode($tg_refreshinterval)?>;
|
||||
window.invert = <?=json_encode($tg_invert)?>;
|
||||
window.invert = JSON.parse(<?=json_encode($tg_invert)?>);
|
||||
window.size = <?=json_encode($tg_size)?>;
|
||||
window.smoothing = <?=json_encode($tg_smoothfactor)?>;
|
||||
window.interfaces = InterfaceString.split("|").filter(function(entry) { return entry.trim() != ''; });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user