Oh, thanks. I haven't seem it before, sorry.

On Feb 25, 4:06 am, "Roger Demetrescu" <[EMAIL PROTECTED]>
wrote:
> Hi Olli,
>
> You may find interesting reading this thread:
>
> http://tinyurl.com/23ny74
>
> Cheers,
>
> Roger
>
> On 2/24/07, Olli Wang <[EMAIL PROTECTED]> wrote:
>
>
>
> > IE cache issue is annoying. Don't know why but MochiKit don't add a
> > time stamp by itself so that we have to pass the parameter manually
> > every time. I just fix this issue in my MochiKit.js, here's my code
> > for anyone who needs it.
>
> > # Original source (MochiKit.js at r1269)
>
> > 2472 if(arguments.length>1){
> > 2473 var m=MochiKit.Base;
> > 2474 var qs=m.queryString.apply(null,m.extend(null,arguments,1));
> > 2475 if(qs){
> > 2476 return url+"?"+qs;
> > 2477 }
>
> > # Modified version
>
> > 2472 if(arguments.length==1){
> > 2473 return url+"?"+'&timestamp='+new Date().getTime();
> > 2474 }
> > 2475 if(arguments.length>1){
> > 2476 var m=MochiKit.Base;
> > 2477 var qs=m.queryString.apply(null,m.extend(null,arguments,1));
> > 2478 if(qs){
> > 2479 return url+"?"+qs+'&timestamp='+new Date().getTime();
> > 2480 }
>
> > Hope this feature could be placed in the next release.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to