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
This commit is contained in:
lepipele
2018-03-06 22:04:03 -06:00
parent da4c132f9d
commit 5715dd2058

View File

@@ -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) {