summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread_windows/abstract_thread_window.js
diff options
context:
space:
mode:
authorGorash <chm@odoo.com>2019-07-15 09:26:29 +0000
committerGorash <chm@odoo.com>2019-07-15 09:26:29 +0000
commit2c27d6c9257fbc28d4801a0b32a0b9921c509af5 (patch)
tree412a88f03e56695a6df647264f009d96185210f5 /addons/mail/static/src/js/thread_windows/abstract_thread_window.js
parent522a0001e7717449538a8f05c003582fe88cfda4 (diff)
[FIX] web_editor: avoid dialog error on email edition
Under certain unknown conditions, the range cannot be applied and triggered an error. In order to allow the user to keep editing, we need to prevent the dialog from showing, hence the use of `console.error`. If this error appears, the carret is moved to the beginning of the focused node. If this error appears, then bullet can generate an error (I managed to have the bug once or simulate it by manually breaking the dom and range) We suspect a wrong snippet custom javascript code. see: https://github.com/odoo/odoo/pull/34188 closes odoo/odoo#34871 Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/js/thread_windows/abstract_thread_window.js')
0 files changed, 0 insertions, 0 deletions