Skip to content

Commit

Permalink
restored safe version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord Vollkorn committed Aug 27, 2020
1 parent 7a92795 commit d58fbe8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions view/frontend/web/js/view/payment/method-renderer/payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit d58fbe8

Please sign in to comment.