]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
web: Fix reloading graphs
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Sep 2024 19:44:42 +0000 (19:44 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Sep 2024 19:44:42 +0000 (19:44 +0000)
Suggested-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/189/filelists/files
html/html/include/rrdimage.js

index 30ed2da821902ccdb9e252c935add314dd7ac58e..2586805ea9569b0fe9f57254dbb4ba174014a25a 100644 (file)
@@ -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
index c6f5930c934ab5494d70c5b5dad273e9774e3660..06d05e22448c27731ab2e381ece3c0663d2726e5 100644 (file)
@@ -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);
        });