mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-27 09:48:21 +01:00
disable cache in $.ajax
This commit is contained in:
parent
cac548edf9
commit
44f4ad1840
Binary file not shown.
@ -1138,7 +1138,7 @@ namespace OS {
|
|||||||
return $.ajax({
|
return $.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: p,
|
url: p,
|
||||||
cache: false,
|
headers: { 'Cache-Control': 'no-cache'},
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
data: JSON.stringify(
|
data: JSON.stringify(
|
||||||
d,
|
d,
|
||||||
@ -1226,7 +1226,7 @@ namespace OS {
|
|||||||
return $.ajax({
|
return $.ajax({
|
||||||
url: p,
|
url: p,
|
||||||
data: formd,
|
data: formd,
|
||||||
cache: false,
|
headers: { 'Cache-Control': 'no-cache'},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
contentType: false,
|
contentType: false,
|
||||||
processData: false,
|
processData: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user