reed/turbolinks-compatibility

Loading Javascripts Problem

Opened this issue · 1 comments

I have an rails application page with new & edit functionality on the same page. That includes radion buttons and check boxes. When redirecting to that page the javascripts files are not loading automatically instead it is expecting reload of javascripts to load the functionality for edit action.

Please resolve this issue.

Thanks in Advance

It seems that your js is not bound to the right events. To help you further, please provide some code and the version of turbolinks you are using.

It might help you to read a bit the doc regarding event initialization here: https://github.com/turbolinks/turbolinks#running-javascript-when-a-page-loads