[FIX] website_sale: Discussion not working on product; issue: #3495

This commit is contained in:
Christophe Matthieu 2014-11-06 17:30:36 +01:00
parent 6b3777c2b6
commit 76080efdbc
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ $('.oe_website_sale').each(function () {
return false;
});
$('.a-submit', oe_website_sale).off('click').on('click', function () {
$('.oe_website_sale .a-submit, #comment .a-submit').off('click').on('click', function () {
$(this).closest('form').submit();
});
$('form.js_attributes input, form.js_attributes select', oe_website_sale).on('change', function () {