Skip to content
Snippets Groups Projects
Commit 497bc892 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#39641

X-original-commit: https://github.com/odoo/odoo/commit/54d032bb66013b32fb4def2216f77f7890ce31df


Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 502db91c
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment