From 010d847c2d4fbd8844c18ec6dd9fb6e5ca2dea06 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 27 Oct 2015 15:05:37 -0400 Subject: [PATCH] Extensibility point for adding a new main button below topics --- .../javascripts/discourse/views/topic-footer-main-buttons.js.es6 | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 b/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 index 8ee4409353f..8ba52885538 100644 --- a/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 +++ b/app/assets/javascripts/discourse/views/topic-footer-main-buttons.js.es6 @@ -26,5 +26,6 @@ export default ContainerView.extend({ if (this.get('topic.details.can_create_post')) { this.attachViewClass('reply-button'); } + this.trigger('additionalButtons', this); } });