diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-06-07 11:09:29 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-06-07 11:09:29 +0200 |
| commit | 6c6e652673c8fb830e4de81f9683eb9e8609fdf8 (patch) | |
| tree | 61a7b63ef4599ca1ae7e17981250a167e8fb9a9c /addons/web_editor | |
| parent | cad0be27e71e8fcd1424715dd82103bd497390d2 (diff) | |
| parent | 757846c5912efa1edcf29dd6283d79341d0413ed (diff) | |
[MERGE] forward port branch saas-14 up to 757846c5912
Diffstat (limited to 'addons/web_editor')
| -rw-r--r-- | addons/web_editor/static/src/js/widgets.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/widgets.js b/addons/web_editor/static/src/js/widgets.js index a9f7538a036..8244dcdfb25 100644 --- a/addons/web_editor/static/src/js/widgets.js +++ b/addons/web_editor/static/src/js/widgets.js @@ -1006,6 +1006,7 @@ var LinkDialog = Dialog.extend({ } this.data.range = range.create(sc, so, ec, eo); + $(editable).data("range", this.data.range); this.data.range.select(); } else { nodes = dom.ancestor(sc, dom.isAnchor).childNodes; |
