Benoit Socias (bso)
Benoit Socias (bso)
Extracted problems found during this PR to 14.0: https://github.com/odoo/odoo/pull/98069
> So activate_snippet does not work? It correctly updates the displayed options, but it does not correctly select the image: if you press CTRL+K it messes up the DOM by...
Found another problem related to the tools unlink operation, but created task-2778912 for it because it does not seem related to the media link edition.
@qsm-odoo Changes done, can be reviewed.
@qsm-odoo Rebased after BS5 and re-tested on runbot.
> @bso-odoo Sorry for coming back to this this late. I tried reproducing the orignal issue in a 15.0 and I cannot do it anymore grimacing Would another fix indirectly...
@qsm-odoo Changes done & re-tested on runbot.
> `Uncaught Javascript Error > this._requestUserValueWidgets(...)[0] is undefined` I removed the `core.bus.trigger('activate_image_link_tool');` in `toggleLinkTools`: the image link tool is already started at that point. EDIT: Rollback - reverted this because...
Made sure the (de)activate events are only triggered once the snippet menu is ready. Maybe that whole part of `toggleLinkTools` should wait for snippet menu too. I could not reproduce...
@qsm-odoo Re-rebased and re-tested on runbot.