addons-cm/website_sale_aplicoop/controllers
snt b07b7dc671 [FIX] website_sale_aplicoop: prevent grid destruction on event listener attachment
The _attachEventListeners() function was cloning the products-grid element
without its children (cloneNode(false)) to remove duplicate event listeners.
This destroyed all loaded products every time the function was called.

Solution: Use a flag (_delegationListenersAttached) to prevent adding
duplicate event listeners instead of cloning and replacing the grid node.

This fixes the issue where products would disappear ~1-2 seconds after
page load.
2026-02-18 16:53:27 +01:00
..
__init__.py Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
portal.py Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
website_sale.py [FIX] website_sale_aplicoop: prevent grid destruction on event listener attachment 2026-02-18 16:53:27 +01:00