make sure reports ajax calls dont cache

This commit is contained in:
John Woodlock
2012-05-17 17:38:21 +10:00
parent b71778a678
commit 3d8439ac98
4 changed files with 6 additions and 4 deletions
@@ -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',
@@ -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");
},