summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-01-24 22:54:09 +0000
committerStef Walter <stef@memberwebs.com>2006-01-24 22:54:09 +0000
commit135e0a0bfe2d25919941f5cd6133c8cf3d7291e6 (patch)
tree55334e73f02fd1b015f88816725eafbf9657d280
parent2722e7e6e7fb52cfa4370e52041f1f8a752c2d21 (diff)
Clarify strange hack.
-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);
}