disable cache in $.ajax

This commit is contained in:
lxsang 2021-05-06 19:22:14 +02:00
parent cbfba153dc
commit cac548edf9
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

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