[-] MO : Fix rand parameter in favorite module js

This commit is contained in:
gRoussac
2013-04-03 10:26:48 +02:00
parent 9f7afc317d
commit 68cfd53c41
+4 -4
View File
@@ -1,7 +1,7 @@
$('document').ready(function(){
$('#favoriteproducts_block_extra_add').click(function(){
$.ajax({
url: favorite_products_url_add + '?rand=' + new Date().getTime(),
url: favorite_products_url_add + '&rand=' + new Date().getTime(),
type: "POST",
headers: { "cache-control": "no-cache" },
data: {
@@ -20,7 +20,7 @@ $('document').ready(function(){
});
$('#favoriteproducts_block_extra_remove').click(function(){
$.ajax({
url: favorite_products_url_remove + '?rand=' + new Date().getTime(),
url: favorite_products_url_remove + '&rand=' + new Date().getTime(),
type: "POST",
headers: { "cache-control": "no-cache" },
data: {
@@ -39,7 +39,7 @@ $('document').ready(function(){
});
$('#favoriteproducts_block_extra_added').click(function(){
$.ajax({
url: favorite_products_url_remove + '?rand=' + new Date().getTime(),
url: favorite_products_url_remove + '&rand=' + new Date().getTime(),
type: "POST",
headers: { "cache-control": "no-cache" },
data: {
@@ -58,7 +58,7 @@ $('document').ready(function(){
});
$('#favoriteproducts_block_extra_removed').click(function(){
$.ajax({
url: favorite_products_url_add + '?rand=' + new Date().getTime(),
url: favorite_products_url_add + '&rand=' + new Date().getTime(),
type: "POST",
headers: { "cache-control": "no-cache" },
data: {