From 238d9cbbc03940c0b64b353f5d1f90b0854e6ab7 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 1 Mar 2017 16:24:09 +0000 Subject: 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. --- web/cobrands/fixmystreet/fixmystreet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.3