Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #12: Wiselink reload

  • Loading branch information...
commit 716fb3abe0b2655bee3b30c6ea283be61d9cffc4 1 parent cea7762
@igor-alexandrov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/assets/javascripts/wiselinks.js.coffee
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.