From 1d072a8fda34c6ce9f6e7f13bb5c819a553b7dac Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 22 Jan 2015 12:56:47 +0100 Subject: [PATCH] [FIX] website editor: not display bullet of list when apply and remove folded list option --- addons/website/static/src/js/website.snippets.editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js index b44b95300a3..151973045e2 100644 --- a/addons/website/static/src/js/website.snippets.editor.js +++ b/addons/website/static/src/js/website.snippets.editor.js @@ -1779,11 +1779,13 @@ if (!this.$target.hasClass('o_ul_folded')) { this.$target.find(".o_close").removeClass("o_close"); } + this.$target.find("li:not(:has(>ul))").css('list-style', ''); }, toggle_class: function (type, value, $li) { this._super(type, value, $li); this.$target.data("snippet-view").stop(); this.reset_ul(); + this.$target.find("li:not(:has(>ul))").css('list-style', ''); this.$target.data("snippet-view", new website.snippet.animationRegistry.ul(this.$target, true)); } });