From c241d5fd0ac4c2fac87f8e2ef87b2d6cbe04606b Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 6 May 2015 12:13:25 +0930 Subject: [PATCH] Fix replying when not logged in --- framework/core/js/forum/src/initializers/discussion-controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/forum/src/initializers/discussion-controls.js b/framework/core/js/forum/src/initializers/discussion-controls.js index 110ddcdeb..0e28b3466 100644 --- a/framework/core/js/forum/src/initializers/discussion-controls.js +++ b/framework/core/js/forum/src/initializers/discussion-controls.js @@ -20,7 +20,7 @@ export default function(app) { } else if (!app.session.user()) { app.modal.show(new LoginModal({ message: 'You must be logged in to do that.', - callback: this.replyAction.bind(this) + callback: replyAction.bind(this) })); } }