From f03a0766697d488e420e0faf649f2f1b9dd36a6e Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Thu, 19 May 2016 16:23:56 +0100 Subject: [PATCH] make cash bust add onto object not recreate it --- .../web/public/coffee/ide/pdf/controllers/PdfController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index 0ce85686cf..4c00ced0b8 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -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