Skip to content
Snippets Groups Projects
Commit 4ae00054 authored by Dipalee Bhalodia's avatar Dipalee Bhalodia Committed by qsm-odoo
Browse files

[FIX] website_sale_options: restore website_sale_options dialog

Before this commit, on click on 'Continue Shopping' / 'Process Checkout'
button of the product options wizard, it opened the wizard again and
again.

Commit https://github.com/odoo/odoo/commit/8a85cb9ea48b0d25f38a8795c5e25f30cd5bb3f7
selector was made more general so this commit will solve this issue
by using a more specific selector and will not open wizard again on
click of 'Continue Shopping' button.

Closes https://github.com/odoo/odoo/pull/27079
parent 82f361a3
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@ sAnimations.registry.WebsiteSale.include({
sAnimations.registry.WebsiteSaleOptions = sAnimations.Class.extend({
selector: '.oe_website_sale',
read_events: {
'click #add_to_cart, #products_grid .a-submit': '_onClickAdd',
'click #add_to_cart, #products_grid .product_price .a-submit': '_onClickAdd',
},
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment