diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-10-30 16:08:51 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-31 15:28:07 +0000 |
| commit | b9ad9f4991b45a86818b4231b0ca54420023c422 (patch) | |
| tree | 4af4f345e88387d7aad0d4307ee6e917bf28bcd1 /doc/reference/javascript_reference.rst | |
| parent | 8345551228135a628a3015cf52652f0325fbd65c (diff) | |
[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#39668
X-original-commit: 497bc892697ba1b5d2e7140f07970e468b7c90a7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
