summaryrefslogtreecommitdiff
path: root/views/mods/mod_paypalapi/paypalplus.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_paypalapi/paypalplus.phtml')
-rw-r--r--views/mods/mod_paypalapi/paypalplus.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_paypalapi/paypalplus.phtml b/views/mods/mod_paypalapi/paypalplus.phtml
index f19fe7c..541da34 100644
--- a/views/mods/mod_paypalapi/paypalplus.phtml
+++ b/views/mods/mod_paypalapi/paypalplus.phtml
@@ -19,7 +19,7 @@
jQuery('#wpsg_basket_form').attr('target', 'wpsg_hiddenTarget');
jQuery('#wpsg_basket_form').append('<input name="wpsg_checkout" value="ppp" id="wpsg_hidden_action" />');
jQuery('#wpsg_basket_form').append('<input name="wpsg[checkout][payment]" value="ppp" id="wpsg_hidden_payment" />');
- jQuery('#wpsg_basket_form').submit();
+ jQuery('#wpsg_basket_form').trigger('submit');
jQuery('#wpsg_basket_form').removeAttr('target');
jQuery('#wpsg_hidden_action').remove();
jQuery('#wpsg_hidden_payment').remove();