Permalink
Browse files

[FIX] website_sale: correct js syntax

Oversight of forward-port a01e76e
  • Loading branch information...
KangOl committed Oct 18, 2017
1 parent 00a14fd commit de70646bc5afde6c91784725dedd5141e994ee82
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website_sale/static/src/js/website_sale_payment.js
@@ -8,7 +8,7 @@ $(document).ready(function () {
if ($("#checkbox_cgv").length) {
$("#checkbox_cgv").change(function() {
$("div.oe_sale_acquirer_button").find('input, button').prop("disabled", !this.checked);
};
});
$('#checkbox_cgv').trigger('change');
}

0 comments on commit de70646

Please sign in to comment.