diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index 9fe53adf80f..db56d33be45 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -2255,14 +2255,6 @@ const VisibilityPageOptionUpdate = options.Class.extend({ showOptionWidgetName: undefined, shownValue: '', - /** - * @override - */ - async start() { - await this._super(...arguments); - const shown = await this._isShown(); - this.trigger_up('snippet_option_visibility_update', {show: shown}); - }, /** * @override */ diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 759f705bf1c..b795172b8de 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -206,9 +206,11 @@ + '1' if 'header_visible' in main_object and not main_object.header_visible else None + '1' if 'footer_visible' in main_object and not main_object.footer_visible else None