BUGFIX: we don't need this param
This commit is contained in:
parent
05efc8df16
commit
9bee0b6e2d
|
@ -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 New Issue