diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-01-22 12:56:47 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-01-23 12:14:15 +0100 |
| commit | 1d072a8fda34c6ce9f6e7f13bb5c819a553b7dac (patch) | |
| tree | 7ca7421285b2776762c3db94b19989bdd3ec86f9 /addons/website/static/src/js/website.snippets.editor.js | |
| parent | 64b0c36f168abddc4e798712f0812202e5c0b8b6 (diff) | |
[FIX] website editor: not display bullet of list when apply and remove folded list option
Diffstat (limited to 'addons/website/static/src/js/website.snippets.editor.js')
| -rw-r--r-- | addons/website/static/src/js/website.snippets.editor.js | 2 |
1 files changed, 2 insertions, 0 deletions
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)); } }); |
