// Fixed #PSCFV-1593 : SSL
This commit is contained in:
@@ -30,10 +30,10 @@ $('document').ready(function()
|
||||
$('img[rel^=ajax_id_favoriteproduct_]').click(function()
|
||||
{
|
||||
var idFavoriteProduct = $(this).attr('rel').replace('ajax_id_favoriteproduct_', '');
|
||||
var parent = $(this).parent().parent();
|
||||
|
||||
var parent = $(this).parent().parent();
|
||||
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||
type: "POST",
|
||||
data: {
|
||||
'id_product': idFavoriteProduct
|
||||
@@ -75,7 +75,7 @@ $('document').ready(function()
|
||||
{else}
|
||||
<p class="warning">{l s='No favorite products yet.' mod='favoriteproducts'}</p>
|
||||
{/if}
|
||||
|
||||
|
||||
<ul class="footer_links">
|
||||
<li class="fleft"><a href="{$link->getPageLink('my-account.php', true)}"><img src="{$img_dir}icon/my-account.gif" alt="" class="icon" /></a><a href="{$link->getPageLink('my-account.php', true)}">{l s='Back to Your Account' mod='favoriteproducts'}</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
$('document').ready(function(){
|
||||
$('#favoriteproducts_block_extra_add').click(function(){
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'])}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], true)}",
|
||||
type: "POST",
|
||||
data: {
|
||||
"id_product": {$smarty.get.id_product}
|
||||
@@ -39,14 +39,14 @@ $('document').ready(function(){
|
||||
$('#favoriteproducts_block_extra_add').slideUp(function() {
|
||||
$('#favoriteproducts_block_extra_added').slideDown("slow");
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
$('#favoriteproducts_block_extra_remove').click(function(){
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||
type: "POST",
|
||||
data: {
|
||||
"id_product": {$smarty.get.id_product}
|
||||
@@ -64,7 +64,7 @@ $('document').ready(function(){
|
||||
});
|
||||
$('#favoriteproducts_block_extra_added').click(function(){
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'])}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)}",
|
||||
type: "POST",
|
||||
data: {
|
||||
"id_product": {$smarty.get.id_product}
|
||||
@@ -82,7 +82,7 @@ $('document').ready(function(){
|
||||
});
|
||||
$('#favoriteproducts_block_extra_removed').click(function(){
|
||||
$.ajax({
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'])}",
|
||||
url: "{$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'], true)}",
|
||||
type: "POST",
|
||||
data: {
|
||||
"id_product": {$smarty.get.id_product}
|
||||
|
||||
Reference in New Issue
Block a user