Skip to content

Commit

Permalink
Item8304: need to account for existing params
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/SkillsPlugin@5424 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Nov 3, 2009
1 parent c886c60 commit 8eaa298
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pub/System/SkillsPlugin/main_src.js
Expand Up @@ -33,8 +33,11 @@ SkillsPlugin.main = {
// Workaround; add the date to block caching, since
// TWiki gets it wrong
var now = new Date();
var url = SkillsPlugin.vars.restUrl + "/SkillsPlugin/" + handler
+ '?t=' + now;
var url = SkillsPlugin.vars.restUrl + "/SkillsPlugin/" + handler;
if (/\?/.test(handler))
handler += ';t=' + now;
else
handler += '?t=' + now;

var obCallbacks = {
success: function(o){
Expand Down

0 comments on commit 8eaa298

Please sign in to comment.