make sure reports ajax calls dont cache
This commit is contained in:
+2
@@ -388,6 +388,7 @@
|
||||
// crossDomain : true,
|
||||
dataType : 'json',
|
||||
data : form_data,
|
||||
cache: false,
|
||||
success : function(data, textStatus, jqXHR) {
|
||||
currentEditPopup.dialogDiv.dialog("close");
|
||||
viewExtraData(currentEditPopup.baseUrl,
|
||||
@@ -455,6 +456,7 @@
|
||||
cache : false,
|
||||
type : 'GET',
|
||||
contentType : "application/json; charset=utf-8",
|
||||
cache: false,
|
||||
// dataType : 'jsonp',
|
||||
// crossDomain : true,
|
||||
dataType : 'json',
|
||||
+2
-2
@@ -1000,7 +1000,7 @@ alert("needs fixing up, dont rely on data")
|
||||
dataType: 'json',
|
||||
contentType: "application/json; charset=utf-8",
|
||||
crossDomain: false,
|
||||
cache: true,
|
||||
cache: false,
|
||||
beforeSend: function( xhr ) {
|
||||
xhr.setRequestHeader("Accept", "application/json");
|
||||
},
|
||||
@@ -1052,7 +1052,7 @@ function getReportDataNoAuth(rptName, inParams, successFunction, isParameterType
|
||||
data: inQueryParameters,
|
||||
contentType: "application/json; charset=utf-8",
|
||||
crossDomain: false,
|
||||
// cache: true,
|
||||
cache: false,
|
||||
beforeSend: function( xhr ) {
|
||||
xhr.setRequestHeader("Accept", "application/json");
|
||||
},
|
||||
Reference in New Issue
Block a user