disable cache in $.ajax

This commit is contained in:
lxsang 2021-05-06 19:31:16 +02:00
parent cac548edf9
commit 44f4ad1840
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1138,7 +1138,7 @@ namespace OS {
return $.ajax({
type: "POST",
url: p,
cache: false,
headers: { 'Cache-Control': 'no-cache'},
contentType: "application/json",
data: JSON.stringify(
d,
@ -1226,7 +1226,7 @@ namespace OS {
return $.ajax({
url: p,
data: formd,
cache: false,
headers: { 'Cache-Control': 'no-cache'},
type: "POST",
contentType: false,
processData: false,