summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorAntoine Guenet <age@odoo.com>2019-02-19 09:56:32 +0000
committerAntoine Guenet <age@odoo.com>2019-02-19 09:56:32 +0000
commit6c38ed2f8d8a4e072157ad074a0ce1ec79596a05 (patch)
treed7f17f0b2ec0cf24b71494b095fa7ab357afef43 /addons/web/static/src/js
parent496d7fad747b605019c143384eaa6f2f61cbc29f (diff)
[FIX] web_editor: open the link modal on dblclick button descendent
The link modal only opened on double-click directly on an anchor, meaning that double-clicking text in a span node within the button (as is the case in the call-to-action snippet for instance) wouldn't open the modal. Now it opens as long as we have an ancestor that is an anchor, unless the double-click occurs on a media (eg: a pictogram), in which case it should open the media's modal. closes odoo/odoo#31229
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions