make cash bust add onto object not recreate it

This commit is contained in:
Henry Oswald 2016-05-19 16:23:56 +01:00
parent 789257fd4a
commit f03a076669

View file

@ -84,7 +84,7 @@ define [
# no need to bust cache, build id is unique
else
$scope.pdf.url = "/project/#{$scope.project_id}/output/output.pdf"
qs = { cache_bust : "#{Date.now()}" }
qs.cache_bust = "#{Date.now()}"
# add a query string parameter for the compile group
if response.compileGroup?
$scope.pdf.compileGroup = response.compileGroup