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

This commit is contained in:
gRoussac committed 2013-01-23 15:48:15 +01:00
1 parent f8d5b33251
commit a48d2668d3
20 files changed
+144 -69

No files matched your search

+2 -1
View File
@@ -66,7 +66,8 @@ function getStores(coordinates, radius)
// ajax call
$.ajax({
type: 'POST',
url: 'index.php?controller=stores',
headers: { "cache-control": "no-cache" },
url: 'index.php?controller=stores' + '&rand=' + new Date().getTime(),
data: 'ajax=true&latitude=' + latitude + '&longitude=' + longitude + '&radius=' + radius,
dataType: 'json',
async : true,