Skip to content

Commit

Permalink
Fix issue when trying to download a CSV export in combination with Tu…
Browse files Browse the repository at this point in the history
…rbolinks 5 (leikind#326)
  • Loading branch information
kreintjes committed Feb 14, 2017
1 parent 7c7fbbe commit eaeb12e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/assets/javascripts/wice_grid_processor.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class WiceGridProcessor


exportToCsv : ->
@visit @linkForExport
# Do not use @visit here, since downloading files through Turbolinks doesn't work in version 5
window.location = @linkForExport


register : (func)->
Expand Down

0 comments on commit eaeb12e

Please sign in to comment.