Files
odoo_source/addons/website/static
Antoine Guenet 86e624f5a0 [FIX] website: prevent animations from restarting on a blank page
Commit [1] introduced `_onEditionWasStopped` which besides declaring the
edit mode as disabled, also restarted animations. Since the new editor
was introduced, this is triggered on save and cancel, which is indeed
needed in order to declare that edit mode is disabled, but also
generates a traceback due to the animations now restarting on an already
destroyed wysiwyg. That restarting of animations is unnecessary anyway
since the page will refresh when disabling the edit mode.

[1]: https://github.com/odoo/odoo/commit/f296992317e96562c66bd7ad59a5080d6c551ed5

task-2528814

closes odoo/odoo#76450

X-original-commit: 7aea27968b1d51fc3ca2645a4e4d21258466d5ee
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-14 13:32:10 +00:00
..