summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-01-07 13:09:04 +0100
committerChristophe Matthieu <chm@odoo.com>2015-01-08 11:01:42 +0100
commitd2892b3f3d29e8cd07139d431fe352fde7ce37af (patch)
treeb92b7d267ac904f306667fc82406636c7877a871 /addons/website/static/src
parent95d50c2f73e87ce7337506e1470fbe05f17165d7 (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')
-rw-r--r--addons/website/static/src/js/summernote.js2
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;
}