mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -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');
|
var filterMode = this.get('controllers.list.filterMode');
|
||||||
if (!filterMode) return;
|
if (!filterMode) return;
|
||||||
|
|
||||||
var lsitTopicsController = this;
|
var listTopicsController = this;
|
||||||
Discourse.MessageBus.subscribe("/" + filterMode, function(data) {
|
Discourse.MessageBus.subscribe("/" + filterMode, function(data) {
|
||||||
return lsitTopicsController.get('content').insert(data);
|
return listTopicsController.get('content').insert(data);
|
||||||
});
|
});
|
||||||
this.set('previousChannel', filterMode);
|
this.set('previousChannel', filterMode);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue