Commit 73f9474b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix dashboard event filter when navigate via turbolinks

parent 6e961203
...@@ -27,7 +27,7 @@ class Dashboard ...@@ -27,7 +27,7 @@ class Dashboard
else else
event_filters.splice index, 1 event_filters.splice index, 1
$.cookie "event_filter", event_filters.join(",") $.cookie "event_filter", event_filters.join(","), { path: '/' }
initSidebarTab: -> initSidebarTab: ->
key = "dashboard_sidebar_filter" key = "dashboard_sidebar_filter"
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
@disable = true @disable = true
initLoadMore: -> initLoadMore: ->
$(document).unbind('scroll')
$(document).endlessScroll $(document).endlessScroll
bottomPixels: 400 bottomPixels: 400
fireDelay: 1000 fireDelay: 1000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment