From 3381f0974ff7fc40acabf46a93b54c047d9dc95b Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Mon, 26 Mar 2012 13:04:48 +0000 Subject: [PATCH] [-] MO : #PNM-33 - Disable cache of ajax queries on the blocklayered git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14257 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blocklayered/blocklayered.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/blocklayered/blocklayered.js b/modules/blocklayered/blocklayered.js index f149a2bab..85595bfa8 100644 --- a/modules/blocklayered/blocklayered.js +++ b/modules/blocklayered/blocklayered.js @@ -369,6 +369,7 @@ function reloadContent(params_plus) url: baseDir + 'modules/blocklayered/blocklayered-ajax.php', data: data+params_plus+n, dataType: 'json', + cache: false, // @todo see a way to use cache and to add a timestamps parameter to refresh cache each 10 minutes for example success: function(result) { $('#layered_block_left').replaceWith(result.filtersBlock);