summaryrefslogtreecommitdiff
path: root/html/rrdui.js
diff options
context:
space:
mode:
Diffstat (limited to 'html/rrdui.js')
-rw-r--r--html/rrdui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/html/rrdui.js b/html/rrdui.js
index f1c7286..468fdc3 100644
--- a/html/rrdui.js
+++ b/html/rrdui.js
@@ -157,6 +157,7 @@ function reloadGraph(img)
img._loading = true;
updateCursors(img);
+ /* HACK: The onload event for IMG is called with a strange event target */
img.onload = new Function("reloadedGraph('" + img.id + "');");
img.setAttribute("src", uri);
}