ticket 10780 / clean fct modal
This commit is contained in:
parent
61160044c6
commit
0d49309e1e
@ -57,19 +57,17 @@
|
|||||||
|
|
||||||
{literal}
|
{literal}
|
||||||
<script>
|
<script>
|
||||||
function validCrosselling() {
|
|
||||||
$('.ajax_add_to_cart_button.hidden').click();
|
|
||||||
}
|
|
||||||
function unvalidCrosselling(){
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$('.btn_crosselling').fancybox();
|
$('.btn_crosselling').fancybox();
|
||||||
$(document).on('click', '#lightbox_crossselling #notAdd', function(){
|
$(document).on('click', '#lightbox_crossselling .btn', function(){
|
||||||
$.fancybox.close();
|
if($(this).attr('id') == 'notAdd') {
|
||||||
});
|
$.fancybox.close();
|
||||||
$(document).on('click', '#lightbox_crossselling #add', function(){
|
} else if ($(this).attr('id') == 'add'){
|
||||||
$('.ajax_add_to_cart_button.hidden').click();
|
$('.ajax_add_to_cart_button.hidden').click();
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/literal}
|
{/literal}
|
||||||
|
Loading…
Reference in New Issue
Block a user