// remove console.log

This commit is contained in:
gRoussac
2013-07-04 16:48:56 +02:00
parent c360e841b3
commit c335115f68
-2
View File
@@ -351,9 +351,7 @@ var ajaxCart = {
var removeLinks = $('#cart_block_product_' + domIdProduct).find('.ajax_cart_block_remove_link'); var removeLinks = $('#cart_block_product_' + domIdProduct).find('.ajax_cart_block_remove_link');
if (!product.hasCustomizedDatas && !removeLinks.length) if (!product.hasCustomizedDatas && !removeLinks.length)
{ {
console.log($('#cart_block_product_' + domIdProduct + ' span.remove_link'));
$('#cart_block_product_' + domIdProduct + ' span.remove_link').html('<a class="ajax_cart_block_remove_link" rel="nofollow" href="' + baseUri + '?controller=cart&amp;delete=1&amp;id_product=' + product['id'] + '&amp;ipa=' + product['idCombination'] + '&amp;token=' + static_token + '"> </a>'); $('#cart_block_product_' + domIdProduct + ' span.remove_link').html('<a class="ajax_cart_block_remove_link" rel="nofollow" href="' + baseUri + '?controller=cart&amp;delete=1&amp;id_product=' + product['id'] + '&amp;ipa=' + product['idCombination'] + '&amp;token=' + static_token + '"> </a>');
console.log('passe');
} }
if (product.is_gift) if (product.is_gift)
$('#cart_block_product_' + domIdProduct + ' span.remove_link').html(''); $('#cart_block_product_' + domIdProduct + ' span.remove_link').html('');