summaryrefslogtreecommitdiff
path: root/views/mods/mod_paypalapi/paypalplus.phtml
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2022-07-26 06:58:08 +0000
committerkarl <noreply@maennchen1.de>2022-07-26 06:58:08 +0000
commite86b09fd8488b6c010b9755197b3d56323a92bd0 (patch)
treea52f240177cf7040108ec7734fe83eb0406e630c /views/mods/mod_paypalapi/paypalplus.phtml
parent8295a873bf0479896be131c4ce093b8cb5c9b6c9 (diff)
- replaced shorthand deprecated jQuery code
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8040 0d5edaf7-2b12-4e95-93f4-047927463d4b
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();