[-] FO : Apply changes from commit 1.4.X 1d0d59845b5f9cb9333a89e60523ab41df076d89 no cache for POST queries

This commit is contained in:
gRoussac
2013-01-23 15:48:15 +01:00
parent f8d5b33251
commit a48d2668d3
20 changed files with 144 additions and 69 deletions
+2 -1
View File
@@ -117,10 +117,11 @@ function ProductTabsManager(){
}
return $.ajax({
url : $('#link-'+tab_name).attr("href")+"&ajax=1",
url : $('#link-'+tab_name).attr("href")+"&ajax=1" + '&rand=' + new Date().getTime(),
async : true,
cache: false, // cache needs to be set to false or IE will cache the page with outdated product values
type: 'POST',
headers: { "cache-control": "no-cache" },
data: data,
success : function(data)
{