Fix bug where new posts wouldn't load after hitting the bottom if you'd filtered

This commit is contained in:
Robin Ward 2013-03-23 11:18:38 -04:00
parent 842760e50e
commit 030ecfaa71
2 changed files with 2 additions and 1 deletions

View File

@ -216,6 +216,7 @@ Discourse.TopicController = Discourse.ObjectController.extend({
topicController.updateBottomBar();
topicController.set('loadingBelow', false);
topicController.set('seenBottom', false);
});
}.observes('postFilters'),

View File

@ -19,7 +19,7 @@ Discourse.TopicBestOfRoute = Discourse.Route.extend({
this.modelFor('topic').loadPosts(params);
// After we load, show the bottom bar
//Em.run.next(function () { topicController.updateBottomBar(); })
Em.run.next(function () { topicController.updateBottomBar(); })
}
});