From 74ab93a851567223d5d2724e87fd965e42b4fdd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Betn=C3=A9r?= Date: Fri, 31 Mar 2006 21:45:38 +0000 Subject: [PATCH] Fix for me and IE booth being idiots. Added a random parameter to the xml-rpc call to prevent IE caching. --- admin-root/status.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-root/status.js b/admin-root/status.js index 199ef34c..4f79c97e 100644 --- a/admin-root/status.js +++ b/admin-root/status.js @@ -3,10 +3,10 @@ Event.observe(window,'load',initStatus); var UPDATE_FREQUENCY = 5000; // number of ms between updates function initStatus(e) { - new Ajax.Request('xml-rpc?method=stats',{method: 'get',onComplete:rsStats}); + new Ajax.Request('xml-rpc?method=stats&iefix='+Math.random(),{method: 'get',onComplete:rsStats}); window.setInterval(function () { - new Ajax.Request('xml-rpc?method=stats',{method: 'get',onComplete:rsStats}); + new Ajax.Request('xml-rpc?method=stats&iefix='+Math.random(),{method: 'get',onComplete:rsStats}); },UPDATE_FREQUENCY); }