[FIX] website: restore folded ul option
The option which allows to create foldable lists was not working anymore. Taking advantage of https://github.com/odoo/odoo/commit/62a234e6e21397986733152b448e89ee0353dcfb solves the issue. Note: the option should be improved a lot to be more beautiful / useful but this will be a master task. closes odoo/odoo#35249 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -425,7 +425,9 @@ options.registry.ul = options.Class.extend({
|
||||
toggleClass: function () {
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
this.$target.data('snippet-view').destroy();
|
||||
this.trigger_up('animation_stop_demand', {
|
||||
$target: this.$target,
|
||||
});
|
||||
|
||||
this.$target.find('.o_ul_toggle_self, .o_ul_toggle_next').remove();
|
||||
this.$target.find('li:has(>ul,>ol)').map(function () {
|
||||
|
||||
Reference in New Issue
Block a user