Commit c568ca22 authored by Bojan Živanović's avatar Bojan Živanović
Browse files

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

parent 73f702b8
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/payment/js/offsite-redirect.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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();
    }
  };