[-] 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
This commit is contained in:
@@ -369,6 +369,7 @@ function reloadContent(params_plus)
|
|||||||
url: baseDir + 'modules/blocklayered/blocklayered-ajax.php',
|
url: baseDir + 'modules/blocklayered/blocklayered-ajax.php',
|
||||||
data: data+params_plus+n,
|
data: data+params_plus+n,
|
||||||
dataType: 'json',
|
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)
|
success: function(result)
|
||||||
{
|
{
|
||||||
$('#layered_block_left').replaceWith(result.filtersBlock);
|
$('#layered_block_left').replaceWith(result.filtersBlock);
|
||||||
|
|||||||
Reference in New Issue
Block a user