Fix dashboard event filter when navigate via turbolinks
This commit is contained in:
parent
6e96120337
commit
73f9474b10
2 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Dashboard
|
|||
else
|
||||
event_filters.splice index, 1
|
||||
|
||||
$.cookie "event_filter", event_filters.join(",")
|
||||
$.cookie "event_filter", event_filters.join(","), { path: '/' }
|
||||
|
||||
initSidebarTab: ->
|
||||
key = "dashboard_sidebar_filter"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
@disable = true
|
||||
|
||||
initLoadMore: ->
|
||||
$(document).unbind('scroll')
|
||||
$(document).endlessScroll
|
||||
bottomPixels: 400
|
||||
fireDelay: 1000
|
||||
|
|
Loading…
Reference in a new issue