From: Michael Tremer Date: Mon, 23 Sep 2024 19:44:42 +0000 (+0000) Subject: web: Fix reloading graphs X-Git-Tag: v2.29-core189~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d66bc478b7491930560135390be902c08ebc8df;p=ipfire-2.x.git web: Fix reloading graphs Suggested-by: Leo-Andres Hofmann Signed-off-by: Michael Tremer --- 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); });