From 5715dd2058a4faa6437e45900206cb265dbf1677 Mon Sep 17 00:00:00 2001 From: lepipele Date: Tue, 6 Mar 2018 22:04:03 -0600 Subject: [PATCH] Disabling AJAX caching that messes up checkout in IE Ref: https://stackoverflow.com/questions/4303829/how-to-prevent-a-jquery-ajax-request-from-caching-in-internet-explorer --- BTCPayServer/wwwroot/js/core.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/js/core.js b/BTCPayServer/wwwroot/js/core.js index da5d77587..bffe67348 100644 --- a/BTCPayServer/wwwroot/js/core.js +++ b/BTCPayServer/wwwroot/js/core.js @@ -71,7 +71,8 @@ function fetchStatus() { var path = srvModel.serverUrl + "/i/" + srvModel.invoiceId + "/" + srvModel.paymentMethodId + "/status"; $.ajax({ url: path, - type: "GET" + type: "GET", + cache: false }).done(function (data) { onDataCallback(data); }).fail(function (jqXHR, textStatus, errorThrown) {