From 135e0a0bfe2d25919941f5cd6133c8cf3d7291e6 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 24 Jan 2006 22:54:09 +0000 Subject: Clarify strange hack. --- html/rrdui.js | 1 + 1 file changed, 1 insertion(+) (limited to 'html/rrdui.js') 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); } -- cgit v1.2.3