diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-01-07 13:09:04 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-01-08 11:01:42 +0100 |
| commit | d2892b3f3d29e8cd07139d431fe352fde7ce37af (patch) | |
| tree | b92b7d267ac904f306667fc82406636c7877a871 /addons/website/static/src/js/summernote.js | |
| parent | 95d50c2f73e87ce7337506e1470fbe05f17165d7 (diff) | |
[FIX] website editor: Enter in ordered list is not properly working every new record takes the value 1 rather then incrementing it
Diffstat (limited to 'addons/website/static/src/js/summernote.js')
| -rw-r--r-- | addons/website/static/src/js/summernote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/summernote.js b/addons/website/static/src/js/summernote.js index 448d9a54d12..46150192e55 100644 --- a/addons/website/static/src/js/summernote.js +++ b/addons/website/static/src/js/summernote.js @@ -1022,7 +1022,7 @@ define(['summernote/editing/Editor', 'summernote/summernote'], function (Editor) var node = dom.node(r.sc); var last = node; - while (node && dom.isSplitable(node)) { + while (node && dom.isSplitable(node) && !dom.isList(node)) { last = node; node = node.parentNode; } |
