Merge branch 'ticket-GAnalytics' into develop

This commit is contained in:
Marion Muszynski 2016-09-21 17:07:03 +02:00
commit e18f56ae11

View File

@ -42,6 +42,11 @@
alert(paiementErrorMessage);
}
if ($input.val()) {
// LOADER POUR PAYBOX
if ($input.attr('data-module-name') == "paybox"){
$('.overlay_bbb').fadeIn();
$('.box_paybox').fadeIn();
}
// redirect by GA send event
onStepComplete(4, $input.attr('data-module-name') ,$input.val(),null);
} else {
@ -49,9 +54,6 @@
if ($input.attr('data-module-name') == "paypal") {
$('.overlay_bbb').fadeIn();
$('.box_paypal').fadeIn();
} else if ($input.attr('data-module-name') == "paybox"){
$('.overlay_bbb').fadeIn();
$('.box_paybox').fadeIn();
}
$form = $input.parent().children('div.hidden').children('form');
// submit form by GA send event