Closed KrlSbin closed 6 years ago
@NoPos looks like document-ready function is broken. Try to replace it
in file "active_admin_datetimepicker.js.coffee" replace all from line 17 "$(document).on 'ready turbolinks:load', ->" to
@initXdanDateTimePickerPlugin = () ->
setupDateTimePicker $('body')
$(document).on 'has_many_add:after', '.has_many_container', (e, fieldset) ->
setupDateTimePicker fieldset
$(document).ready ->
initXdanDateTimePickerPlugin()
$(document).on 'turbolinks:load', ->
initXdanDateTimePickerPlugin()
Coverage decreased (-4.8%) to 90.476% when pulling ddd576704aa252857d44c30e45be8040fe581295 on NoPos:support_active_admin_1.1.0 into 5721ea4eed4df2a214461831a2ccff159e9f0e1d on activeadmin-plugins:master.