diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-11-02 09:52:12 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-11-02 09:56:50 +0000 |
| commit | 2e37befbf84f0f587774d4c2fa095487148b549b (patch) | |
| tree | fb42b6ffc0df04182c3a5682fa3e2bcca4b4e9ee /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | bf80334699773f080f41dc234ac170a384c75ea4 (diff) | |
[FIX] web_editor: unblock the editor after dropping the "Quotes" snippet
Before this commit, when the user dropped the "Quotes" snippet, the
editor was not allowing to drop any more snippet (see [1]). This was
because the editors initialization related to the drop of the "Quotes"
snippet was not able to be fully performed. Indeed, it is composed of
carousel items, themself containing images. As some of those carousel
items are hidden, the images they contains are too... and some options
actually wait to access their naturalWidth. As the images are lazy
loaded since [2], we were thus waiting infinitely.
[1]: https://github.com/odoo/odoo/commit/277f39904e7218bef2dd23b1c5b719ce8660008f
[2]: https://github.com/odoo/odoo/commit/617c716aeafd7bbc776d81da134a9b25329f08c9
closes odoo/odoo#61123
Signed-off-by: Samuel Degueldre <sdegueldre@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
