[FIX] website editor: not display bullet of list when apply and remove folded list option

This commit is contained in:
Christophe Matthieu
2015-01-23 12:14:15 +01:00
parent 64b0c36f16
commit 1d072a8fda
@@ -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));
}
});