[FIX] website_sale: correct js syntax
Oversight of forward-port a01e76efa7
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user