regression, empty suggested list after posting a topic

This commit is contained in:
Sam 2013-06-11 18:10:28 +10:00
parent c2cfbce9ce
commit c27d5dc2bd

View File

@ -144,7 +144,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
if(suggested) {
var existing = _(suggested).map(function(topic){
topic.get("id");
return topic.get("id");
});
var lookup = _.chain(incoming)
@ -156,6 +156,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
.first(5)
.value();
this.debounceLoadSuggested(lookup);
}
}.observes('topicTrackingState.incomingCount'),