diff --git a/addons/website_forum/static/src/js/website_forum.js b/addons/website_forum/static/src/js/website_forum.js index a24f67a517a35..d607ac8fc9226 100644 --- a/addons/website_forum/static/src/js/website_forum.js +++ b/addons/website_forum/static/src/js/website_forum.js @@ -16,7 +16,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({ selector: '.website_forum', xmlDependencies: [ '/web_editor/static/src/xml/editor.xml', - '/website_forum/static/src/xml/website_forum_share_templates.xml', + '/website_forum/static/src/xml/public_templates.xml', ], events: { 'click .karma_required': '_onKarmaRequiredClick', @@ -558,7 +558,7 @@ publicWidget.registry.websiteForum = publicWidget.Widget.extend({ publicWidget.registry.websiteForumSpam = publicWidget.Widget.extend({ selector: '.o_wforum_moderation_queue', - xmlDependencies: ['/website_forum/static/src/xml/website_forum_share_templates.xml'], + xmlDependencies: ['/website_forum/static/src/xml/public_templates.xml'], events: { 'click .o_wforum_select_all_spam': '_onSelectallSpamClick', 'click .o_wforum_mark_spam': 'async _onMarkSpamClick', diff --git a/addons/website_forum/static/src/js/website_forum.share.js b/addons/website_forum/static/src/js/website_forum.share.js index 68a2b8f3b7233..c26809a7b35c5 100644 --- a/addons/website_forum/static/src/js/website_forum.share.js +++ b/addons/website_forum/static/src/js/website_forum.share.js @@ -10,7 +10,7 @@ var qweb = core.qweb; var ForumShare = publicWidget.registry.socialShare.extend({ selector: '', xmlDependencies: publicWidget.registry.socialShare.prototype.xmlDependencies - .concat(['/website_forum/static/src/xml/website_forum_share_templates.xml']), + .concat(['/website_forum/static/src/xml/public_templates.xml']), events: {}, /** diff --git a/addons/website_forum/static/src/xml/website_forum_share_templates.xml b/addons/website_forum/static/src/xml/public_templates.xml similarity index 100% rename from addons/website_forum/static/src/xml/website_forum_share_templates.xml rename to addons/website_forum/static/src/xml/public_templates.xml