mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
Merge pull request #1849 from vikhyat/fix-pm-invite
Fix inviting others to private messages.
This commit is contained in:
commit
1fe95f044a
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ Discourse.PrivateMessageMapComponent = Ember.View.extend({
|
|||
init: function() {
|
||||
this._super();
|
||||
this.set('context', this);
|
||||
this.set('controller', this);
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
@ -34,7 +33,7 @@ Discourse.PrivateMessageMapComponent = Ember.View.extend({
|
|||
},
|
||||
|
||||
showPrivateInvite: function() {
|
||||
this.sendAction('showPrivateInviteAction');
|
||||
this.get('controller').send('showPrivateInviteAction');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue