From: ivan Date: Tue, 1 Apr 2008 06:16:56 +0000 (+0000) Subject: append a random number to the iframe name on-the-fly to keep safari from caching... X-Git-Tag: root_of_webpay_support~765 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=aedb243bc1dae1e5f3903d47d5c2928eda1a5d45 append a random number to the iframe name on-the-fly to keep safari from caching it under all circumstances --- 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 ('