mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -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