mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
web: Fix reloading graphs
Suggested-by: Leo-Andres Hofmann <hofmann@leo-andres.de> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
etc/rc.d/init.d/functions
|
||||
srv/web/ipfire/html/include/rrdimage.js
|
||||
var/ipfire/header.pl
|
||||
var/ipfire/ids-functions.pl
|
||||
|
||||
@@ -35,7 +35,7 @@ function rrdimage_selectRange(buttonObj) {
|
||||
|
||||
// Document loaded: Process all graphs, start reload timers
|
||||
$(function() {
|
||||
$('div.rrdimage').each(function() {
|
||||
$('div.graph').each(function() {
|
||||
let graphBox = $(this);
|
||||
_rrdimg_setRange(graphBox, graphBox.data('defaultRange'), true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user