Files
odoo_source/addons/web_editor
Rodopho Cammarosano de Lima (rcdl) 3c12c5e939 [IMP] web_editor: add forceNewWindow to LinkTools
Upon instantiation of a LinkTools object, the forceNewWindow property is
now added to the options object. This allows us to take advantage of the
pre-exisiting mechanism to conditionally display the "open new window"
checkbox in the LinkTools widget
(odoo/addons/web_editor/static/src/xml/wysiwyg.xml:334).

The possibily of not having the checkbox in the DOM demanded a
modification of LinkTools._isNewWindow().

_isFromAnotherHostName(), being used by both LinkDialog and LinkTools,
was moved to their parent class Link.

task# 2789222

closes odoo/odoo#104923

Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2022-11-28 14:51:07 +01:00
..
…
…