1
0
mirror of https://github.com/flarum/core.git synced 2025-10-15 00:44:40 +02:00

Make replyAction into a promise. closes #100

This commit is contained in:
Toby Zerner
2015-06-01 10:29:01 +09:30
parent 56981c1297
commit 7362aff345
3 changed files with 35 additions and 19 deletions

View File

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