Skip to content
Snippets Groups Projects
Commit 70649465 authored by Stanislas Gueniffey's avatar Stanislas Gueniffey
Browse files

[IMP] web_editor: improve focus() for LinkDialog


Previously, LinkDialog always focused on the first editable input field.

This commit introduces a new option in the LinkDialog constructor,
`focusField`, that allows to designate a specific field to focus on.

This option is now used to focus on the second editable input field when
the first one is already filled (for example, from the user selection).

task-3224551

closes odoo/odoo#116555

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 221323f0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment