From 9bee0b6e2d60e61df136b81261110cc7dcccc52c Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 24 Apr 2014 12:46:54 +1000 Subject: [PATCH] BUGFIX: we don't need this param --- .../javascripts/discourse/controllers/topic_controller.js | 2 +- app/assets/javascripts/discourse/models/post_stream.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/topic_controller.js b/app/assets/javascripts/discourse/controllers/topic_controller.js index c6bdf654fac..da9a63c7345 100644 --- a/app/assets/javascripts/discourse/controllers/topic_controller.js +++ b/app/assets/javascripts/discourse/controllers/topic_controller.js @@ -400,7 +400,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected if (data.type === "revised" || data.type === "acted"){ // TODO we could update less data for "acted" // (only post actions) - postStream.triggerChangedPost(data.id, data.updated_at, data.type); + postStream.triggerChangedPost(data.id, data.updated_at); return; } diff --git a/app/assets/javascripts/discourse/models/post_stream.js b/app/assets/javascripts/discourse/models/post_stream.js index 1340683864a..4179812ffc5 100644 --- a/app/assets/javascripts/discourse/models/post_stream.js +++ b/app/assets/javascripts/discourse/models/post_stream.js @@ -504,7 +504,7 @@ Discourse.PostStream = Em.Object.extend({ } }, - triggerChangedPost: function(postId, updatedAt, type) { + triggerChangedPost: function(postId, updatedAt) { if (!postId) { return; } var postIdentityMap = this.get('postIdentityMap'),