aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-01 16:24:09 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-09 17:28:00 +0000
commit238d9cbbc03940c0b64b353f5d1f90b0854e6ab7 (patch)
tree960e71c67970211b7b3b89dd43f499103aa4dab3 /web
parent8b43050c549bc3bb233bab2b7bd5652dfbb39a12 (diff)
Make sure report Ajax call is not cached by IE11.
IE11 caches this Ajax call, not calling out to the server at all if it is made again (e.g. after an update has been made). Fixes #1638.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 8e8941421..a0d830a65 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -1314,7 +1314,7 @@ fixmystreet.display = {
},
report: function(reportPageUrl, reportId, callback) {
- $.ajax(reportPageUrl).done(function(html, textStatus, jqXHR) {
+ $.ajax(reportPageUrl, { cache: false }).done(function(html, textStatus, jqXHR) {
var $reportPage = $(html),
$twoColReport = $reportPage.find('.two_column_sidebar'),
$sideReport = $reportPage.find('#side-report');