Skip to content
Snippets Groups Projects
Commit e72c2a9c authored by qsm-odoo's avatar qsm-odoo Committed by fw-bot
Browse files

[FIX] web_editor: prevent creating editors for the same element twice


It was technically possible that two editors for the same element are
created in the same JS stack execution... and since 13.0 and the
use of native promises, it happens everytime a block is dropped in the
page.

Note: this commit fixes the problem with minimal code but the logic
should be improved in master.

closes odoo/odoo#39593

X-original-commit: 54d032bb
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent b9d7f3e4
No related branches found
No related tags found
No related merge requests found
Loading
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