diff options
Diffstat (limited to 'public/assets/js/lib/views/stream/index.js')
| -rw-r--r-- | public/assets/js/lib/views/stream/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/index.js b/public/assets/js/lib/views/stream/index.js index 8ef9208..e961fc2 100644 --- a/public/assets/js/lib/views/stream/index.js +++ b/public/assets/js/lib/views/stream/index.js @@ -10,13 +10,14 @@ var StreamView = View.extend({ load: function ({ ...target }) { $("body").addClass("index"); - console.log(target); + console.log("target", target); $.get(this.action, target, this.populate.bind(this)); }, populate: function (data) { $("body").removeClass("loading"); this.data = data; + this.hootfilters.load(data); this.hootstream.load(data, this.hootfilters.state); if (data.mail.count) { $(".alert") @@ -43,6 +44,7 @@ var StreamView = View.extend({ }, onFilter: function (filters) { + console.log("onfilter"); this.hootstream.build(filters); }, |
