From 1d66bc478b7491930560135390be902c08ebc8df Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 23 Sep 2024 19:44:42 +0000 Subject: [PATCH] web: Fix reloading graphs Suggested-by: Leo-Andres Hofmann Signed-off-by: Michael Tremer --- config/rootfiles/core/189/filelists/files | 1 + html/html/include/rrdimage.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/189/filelists/files b/config/rootfiles/core/189/filelists/files index 30ed2da821..2586805ea9 100644 --- a/config/rootfiles/core/189/filelists/files +++ b/config/rootfiles/core/189/filelists/files @@ -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 diff --git a/html/html/include/rrdimage.js b/html/html/include/rrdimage.js index c6f5930c93..06d05e2244 100644 --- a/html/html/include/rrdimage.js +++ b/html/html/include/rrdimage.js @@ -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); }); -- 2.39.5