From d58fbe8ff12383f95c3e0a9ee059df8617f4a608 Mon Sep 17 00:00:00 2001 From: Lord Vollkorn Date: Thu, 27 Aug 2020 16:08:09 +0200 Subject: [PATCH] restored safe version --- .../frontend/web/js/view/payment/method-renderer/payment.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/payment.js b/view/frontend/web/js/view/payment/method-renderer/payment.js index d4bb122..afa7ff4 100755 --- a/view/frontend/web/js/view/payment/method-renderer/payment.js +++ b/view/frontend/web/js/view/payment/method-renderer/payment.js @@ -188,11 +188,7 @@ define( "additional_data": null }; }, - placePPPOrder: function (data, event) {alert("TEST"); - var checkedRequiredCA = $('.checkout-agreements.fieldset > .checkout-agreement.required > input.required-entry:checked'); - if (checkedRequiredCA.length) { - $('.checkout-agreements.fieldset > .checkout-agreement.required > input.required-entry').prop('checked', true); - } + placePPPOrder: function (data, event) { if (event) { event.preventDefault(); }