summaryrefslogtreecommitdiff
path: root/www/ajax
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-11-30 03:27:21 +0000
committerStef Walter <stef@memberwebs.com>2006-11-30 03:27:21 +0000
commit69035e974c7772791376bf9dd9ab99d761e7887e (patch)
tree22006477f2090ec6cfa97e1806caee064a53b3f3 /www/ajax
parent5c5c34aa5a9a04c80be9d75f5c4e50d3ef4c9413 (diff)
Make autoscroll interval work in internet explorer.
Diffstat (limited to 'www/ajax')
-rw-r--r--www/ajax/rrdui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/ajax/rrdui.js b/www/ajax/rrdui.js
index f6c907e..4a776cb 100644
--- a/www/ajax/rrdui.js
+++ b/www/ajax/rrdui.js
@@ -176,7 +176,8 @@ function displayCurrentPage()
{
/* Bump up auto scroll interval to 5 seconds */
var interval = img._tinterval < 5 ? 5 : img._tinterval;
- window.setInterval(autoScroll, interval * 1000, img);
+ window.setInterval(function() { autoScroll(img); },
+ interval * 1000);
}
}
}