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:
1) Post a form
2) Render action (without redirection; common for a case of form validation error)
3) In JS console try Turbolinks.enableProgressBar();
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: 1) Post a form 2) Render action (without redirection; common for a case of form validation error) 3) In JS console try
Turbolinks.enableProgressBar();
You'll see
undefined
Rails: 4.2.6 Turbolinks: 2.5.3