[FIX] website_sale: fix cross browser compatibility.

Firefox don't support to submit a form not in the dom.

This commit closes #13805
This commit is contained in:
Jeremy Kersten
2016-10-14 12:35:54 +02:00
parent 323dab7653
commit 8153e60653
@@ -55,7 +55,7 @@ $(document).ready(function () {
}
$form.off('submit');
ajax.jsonRpc('/shop/payment/transaction/' + acquirer_id, 'call', params).then(function (data) {
$(data).submit();
$(data).appendTo('body').submit();
});
return false;
});