New 'topic:current-post-changed' application event
This commit is contained in:
parent
125cc356f3
commit
4c306f9f49
|
@ -230,6 +230,8 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, {
|
|||
|
||||
this.send('postChangedRoute', postNumber);
|
||||
this._progressIndex = topic.get('postStream').progressIndexOfPost(post);
|
||||
|
||||
this.appEvents.trigger('topic:current-post-changed', { post });
|
||||
},
|
||||
|
||||
currentPostScrolled(event) {
|
||||
|
|
Loading…
Reference in New Issue