Skip to content
Snippets Groups Projects
Commit 54d032bb authored by qsm-odoo's avatar qsm-odoo
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#39575

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 40db7a8c
No related branches found
No related tags found
Loading
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