Turbolinks.enableProgressBar() returns undefined
NeoElit opened this issue · 0 comments
NeoElit commented
I'm experiencing a weird 'undefined' return value from Turbolinks.enableProgressBar();
in case when
server renders page without redirection in response to a post request.
Any work around for this issue?
Steps to replicate:
- Post a form
- Render action (without redirection; common for a case of form validation error)
- In JS console try
Turbolinks.enableProgressBar();
You'll see undefined
Rails: 4.2.6
Turbolinks: 2.5.3