Re-add event after a discussion has loaded

replyAction uses it
This commit is contained in:
Toby Zerner 2015-05-30 12:06:48 +09:30
parent 8859e49241
commit bd3bc6b274

View File

@ -87,6 +87,8 @@ export default class DiscussionPage extends mixin(Component, evented) {
this.stream = new PostStream({ discussion, includedPosts }); this.stream = new PostStream({ discussion, includedPosts });
this.stream.on('positionChanged', this.positionChanged.bind(this)); this.stream.on('positionChanged', this.positionChanged.bind(this));
this.stream.goToNumber(m.route.param('near') || 1, true); this.stream.goToNumber(m.route.param('near') || 1, true);
this.trigger('loaded');
} }
onload(element, isInitialized, context) { onload(element, isInitialized, context) {