diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-03-11 11:42:43 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-03-11 11:42:43 +0100 |
| commit | 6e09293b7d921a13c014403acd4bdf7d70a03c48 (patch) | |
| tree | ccbdfdbc3eb94b6a2fe2276d21b4b8378ccdb50e /addons/web_editor/static/src/js/summernote.js | |
| parent | 0eb3170674d0df8b68ff72b3a0c60741531ee7fe (diff) | |
| parent | 8e69043562c125666d63657733428d68e8e97caa (diff) | |
[MERGE] forward port of branch 9.0 up to 8e69043
Diffstat (limited to 'addons/web_editor/static/src/js/summernote.js')
| -rw-r--r-- | addons/web_editor/static/src/js/summernote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/summernote.js b/addons/web_editor/static/src/js/summernote.js index e4d1c5b27c4..00cd04ac16b 100644 --- a/addons/web_editor/static/src/js/summernote.js +++ b/addons/web_editor/static/src/js/summernote.js @@ -1062,8 +1062,8 @@ $.summernote.pluginEvents.enter = function (event, editor, layoutInfo) { } } + var node = dom.node(r.sc); var exist = r.sc.childNodes[r.so] || r.sc; - var node = dom.node(exist); exist = dom.isVisibleText(exist) || dom.isBR(exist) ? exist : dom.hasContentAfter(exist) || (dom.hasContentBefore(exist) || exist); // table: add a tr |
