mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
commit
560bf4dcef
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ Discourse.ListTopicsController = Discourse.ObjectController.extend({
|
|||
var filterMode = this.get('controllers.list.filterMode');
|
||||
if (!filterMode) return;
|
||||
|
||||
var lsitTopicsController = this;
|
||||
var listTopicsController = this;
|
||||
Discourse.MessageBus.subscribe("/" + filterMode, function(data) {
|
||||
return lsitTopicsController.get('content').insert(data);
|
||||
return listTopicsController.get('content').insert(data);
|
||||
});
|
||||
this.set('previousChannel', filterMode);
|
||||
|
||||
|
|
Loading…
Reference in a new issue