[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:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user