From aedb243bc1dae1e5f3903d47d5c2928eda1a5d45 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Apr 2008 06:16:56 +0000 Subject: [PATCH] append a random number to the iframe name on-the-fly to keep safari from caching it under all circumstances --- httemplate/elements/iframecontentmws.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/httemplate/elements/iframecontentmws.js b/httemplate/elements/iframecontentmws.js index cbad738db..91dcfb842 100644 --- a/httemplate/elements/iframecontentmws.js +++ b/httemplate/elements/iframecontentmws.js @@ -18,6 +18,11 @@ be 'auto' (default if omitted), 'yes' or 'no'. */ function OLiframeContent(src, width, height, name, frameborder, scrolling) { + + #stupid safari iframe location caching... + var unique = d.getTime() + '' + Math.floor(1000 * Math.random()); + name = name + '' + unique; + return ('