Inside Out Outside In

FarCry Webtop: AJAX URL Caching

IE has this annoying habit of caching AJAX requests unless you make the URL unique on each request. The 4.x FarCry admin webtop uses the DataRequest.js (v 1.4) library for AJAX calls which has the caching problem. The fix is in easy one, just open up the library (Farcry\core\admin\includes\lib\DataRequestor.js) and insert the following two lines at line 164 in the getURL function;

var tsTimeStamp= new Date().getTime();
self.addArg(_GET,"tsTimeStamp",tsTimeStamp);

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)