Skip to content
Snippets Groups Projects
Commit 4feaca67 authored by abd-msyukyu-odoo's avatar abd-msyukyu-odoo
Browse files

[FIX] web_editor: ctrl+a container should be an element


If somehow there is no selection but the `_handleShortcuts` handler still gets
called with `CTRL+A`, `container` would be a JQUERY object instead of an
element leading to a crash in `selectNodeContents` which expects a `Node`.

task-3506666

closes odoo/odoo#136289

Signed-off-by: default avatarDavid Monjoie (dmo) <dmo@odoo.com>
parent 4681275c
No related branches found
No related tags found
Loading
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