datetimepicker-rails
datetimepicker-rails copied to clipboard
Datetimepicker does not render when turbolinks is installed
Hi Gents,
after a bit of troubleshooting I found that when using the turbolinks gem and this datetimepicker-rails gem, turbolinks seemed to override the $(document).on('read page:change', .... method. As a work-a-round you can use; $(document).on('turbolinks:load'... in the pickers.js file.
Maybe you can save someone else some trouble and put this up as a note on the instructions? :)
Best, Tim
Tim,
Thank you, this worked for me.
Regards, James