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