diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-05-02 11:58:01 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-05-14 11:16:20 +0200 |
| commit | 5bb7ffa20e242d779e7f8e464fb076b7bce1e76c (patch) | |
| tree | 145cdfd0b1f64944e3fdb31543933d4ea606c343 /addons/base_import_module | |
| parent | 3416d4a7989e03be5fb77b5414395c14df63c076 (diff) | |
[FIX] web_editor: ignore range error on Restricted
In firefox, if we have a range on eg.:
`<input type="file">`
and we tabulate to get to it, we have the range over:
`<button type="button" tabindex="0">Browse…</button>`
which seems to be a "virtual" element inside the `<input/>` but this
magic element is "Restricted" and causes error such as:
`Permission denied to access property "nodeName"`
So this fix ignore errors when getting a range from current selection on
keyup.
opw-1819279
closes #24524
Diffstat (limited to 'addons/base_import_module')
0 files changed, 0 insertions, 0 deletions
