mirror of
https://github.com/flarum/core.git
synced 2025-08-10 18:35:56 +02:00
Have a go at some error handling
Still not happy with how this is all fitting together. But good enough for now
This commit is contained in:
@@ -62,7 +62,7 @@ export default Ember.View.extend(HasItemLists, {
|
||||
populateControls: function(items) {
|
||||
var view = this;
|
||||
|
||||
this.addActionItem(items, 'reply', 'Reply', 'reply', 'discussion.canReply', function() {
|
||||
this.addActionItem(items, 'reply', 'Reply', 'reply', null, function() {
|
||||
view.get('streamContent').send('goToLast');
|
||||
view.get('controller').send('reply');
|
||||
});
|
||||
|
Reference in New Issue
Block a user