mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
BUGFIX: we don't need this param
This commit is contained in:
parent
05efc8df16
commit
9bee0b6e2d
2 changed files with 2 additions and 2 deletions
|
@ -400,7 +400,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
|
||||||
if (data.type === "revised" || data.type === "acted"){
|
if (data.type === "revised" || data.type === "acted"){
|
||||||
// TODO we could update less data for "acted"
|
// TODO we could update less data for "acted"
|
||||||
// (only post actions)
|
// (only post actions)
|
||||||
postStream.triggerChangedPost(data.id, data.updated_at, data.type);
|
postStream.triggerChangedPost(data.id, data.updated_at);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -504,7 +504,7 @@ Discourse.PostStream = Em.Object.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
triggerChangedPost: function(postId, updatedAt, type) {
|
triggerChangedPost: function(postId, updatedAt) {
|
||||||
if (!postId) { return; }
|
if (!postId) { return; }
|
||||||
|
|
||||||
var postIdentityMap = this.get('postIdentityMap'),
|
var postIdentityMap = this.get('postIdentityMap'),
|
||||||
|
|
Loading…
Reference in a new issue