Fix dashboard event filter when navigate via turbolinks

This commit is contained in:
Dmitriy Zaporozhets 2013-05-29 21:41:12 +03:00
parent 6e96120337
commit 73f9474b10
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -30,6 +30,7 @@
@disable = true
initLoadMore: ->
$(document).unbind('scroll')
$(document).endlessScroll
bottomPixels: 400
fireDelay: 1000