Permalink
Browse files

Issue #12: Wiselink reload

  • Loading branch information...
1 parent cea7762 commit 716fb3abe0b2655bee3b30c6ea283be61d9cffc4 @igor-alexandrov committed Mar 28, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/assets/javascripts/wiselinks.js.coffee
@@ -63,10 +63,10 @@ class Wiselinks
load: (url, target, render = 'template') ->
@template_id = new Date().getTime() if render != 'partial'
- History.pushState({ template_id: @template_id, render: render, target: target, referer: window.location.href }, document.title, url )
+ History.pushState({ timestamp: (new Date().getTime()), template_id: @template_id, render: render, target: target, referer: window.location.href }, document.title, url )
reload: () ->
- History.replaceState({ template_id: @template_id, render: 'template', referer: window.location.href }, document.title, History.getState().url )
+ History.replaceState({ timestamp: (new Date().getTime()), template_id: @template_id, render: 'template', referer: window.location.href }, document.title, History.getState().url )
_defaults: ->
html4: true

0 comments on commit 716fb3a

Please sign in to comment.