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? :)
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