fix atos prod
This commit is contained in:
parent
0fb722b3a9
commit
950da342ac
@ -2,7 +2,7 @@
|
||||
<div class="col-xs-1 col-xxs-3">
|
||||
<div class="rounded-radio">
|
||||
<div class="hidden">{$atos}</div>
|
||||
<input class="custom-input inline" type="radio" value="" title="{l s='Payer par carte bancaire' mod='atos'}" name="paiement-method">
|
||||
<input class="custom-input inline atos" type="radio" value="" title="{l s='Payer par carte bancaire' mod='atos'}" name="paiement-method">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
|
@ -155,8 +155,10 @@
|
||||
if($input.val())
|
||||
{
|
||||
window.location = $input.val()
|
||||
}
|
||||
else if($input.attr('id') == 'payzenRadio') {
|
||||
} else if ($input.hasClass('atos')) {
|
||||
$form = $input.parent().prev('div.hidden').children('form');
|
||||
$form.find('input[name="CB"]').trigger('click');
|
||||
} else if($input.attr('id') == 'payzenRadio') {
|
||||
$('#payzen_standard').submit();
|
||||
} else {
|
||||
$form = $input.parent().prev('div.hidden').children('form');
|
||||
|
Loading…
Reference in New Issue
Block a user