diff --git a/angelleye-includes/angelleye-utility.php b/angelleye-includes/angelleye-utility.php index 266336bb2..ecf7ac1e7 100644 --- a/angelleye-includes/angelleye-utility.php +++ b/angelleye-includes/angelleye-utility.php @@ -1069,7 +1069,7 @@ public function angelleye_paypal_for_woocommerce_order_action_callback($post) { $('#angelleye_payment_submit_button').on('click', function (event) { if( $('#is_submited').val() == 'no') { $('#is_submited').val('yes'); - var r = confirm('Are you sure?'); + var r = confirm(); if (r == true) { jQuery("#angelleye-pw-order-action").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}); return r; diff --git a/i18n/languages/paypal-for-woocommerce.pot b/i18n/languages/paypal-for-woocommerce.pot index 68f3f472c..7ee18e051 100644 --- a/i18n/languages/paypal-for-woocommerce.pot +++ b/i18n/languages/paypal-for-woocommerce.pot @@ -460,6 +460,10 @@ msgstr "" msgid "PayPal Transaction History" msgstr "" +#: angelleye-includes/angelleye-utility.php:1072 +msgid "Are you sure?" +msgstr "" + #: angelleye-includes/angelleye-utility.php:1099 msgid "Order Total:" msgstr ""