Skip to content
Snippets Groups Projects
Commit 849ce5a3 authored by Kishan Gajjar's avatar Kishan Gajjar
Browse files

[FIX] website_sale: disable 'recent products' buttons in edit mode


closes odoo/odoo#39596

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 18abdcf7
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ publicWidget.registry.productsRecentlyViewedSnippet = publicWidget.Widget.extend
selector: '.s_wsale_products_recently_viewed',
xmlDependencies: ['/website_sale/static/src/xml/website_sale_recently_viewed.xml'],
disabledInEditableMode: false,
events: {
read_events: {
'click .js_add_cart': '_onAddToCart',
'click .js_remove': '_onRemove',
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment