// Fixed #PSCFV-1593 : SSL
This commit is contained in:
@@ -33,7 +33,7 @@ $('document').ready(function()
|
|||||||
var parent = $(this).parent().parent();
|
var parent = $(this).parent().parent();
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
'id_product': idFavoriteProduct
|
'id_product': idFavoriteProduct
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
$('document').ready(function(){
|
$('document').ready(function(){
|
||||||
$('#favoriteproducts_block_extra_add').click(function(){
|
$('#favoriteproducts_block_extra_add').click(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'])}",
|
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], true)}",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
"id_product": {$smarty.get.id_product}
|
"id_product": {$smarty.get.id_product}
|
||||||
@@ -46,7 +46,7 @@ $('document').ready(function(){
|
|||||||
});
|
});
|
||||||
$('#favoriteproducts_block_extra_remove').click(function(){
|
$('#favoriteproducts_block_extra_remove').click(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
"id_product": {$smarty.get.id_product}
|
"id_product": {$smarty.get.id_product}
|
||||||
@@ -64,7 +64,7 @@ $('document').ready(function(){
|
|||||||
});
|
});
|
||||||
$('#favoriteproducts_block_extra_added').click(function(){
|
$('#favoriteproducts_block_extra_added').click(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
"id_product": {$smarty.get.id_product}
|
"id_product": {$smarty.get.id_product}
|
||||||
@@ -82,7 +82,7 @@ $('document').ready(function(){
|
|||||||
});
|
});
|
||||||
$('#favoriteproducts_block_extra_removed').click(function(){
|
$('#favoriteproducts_block_extra_removed').click(function(){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'])}",
|
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], true)}",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
data: {
|
data: {
|
||||||
"id_product": {$smarty.get.id_product}
|
"id_product": {$smarty.get.id_product}
|
||||||
|
|||||||
Reference in New Issue
Block a user