[-] MO : Fix rand parameter in favorite module js
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user