Commit c568ca22 authored by bojanz's avatar bojanz

Issue #2838953 by bojanz: The offsite redirect auto-submit fails on some themes

parent 73f702b8
......@@ -16,7 +16,7 @@
*/
Drupal.behaviors.commercePaymentRedirect = {
attach: function (context) {
$('.payment-redirect-form', context).find('input[type="submit"]').trigger('click');
$('.payment-redirect-form', context).submit();
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment