Sha256: 5b6f4fe2c621c0cc7108e926e389c8ad4239cc53c34e65154df5e9c759c822fd
Contents?: true
Size: 466 Bytes
Versions: 16
Compression:
Stored size: 466 Bytes
Contents
# http://eonasdan.github.io/bootstrap-datetimepicker/Options/ initialize = -> $('input.effective_date_time_picker:not(.initialized)').each (i, element) -> element = $(element) options = element.data('input-js-options') || {} element.addClass('initialized').datetimepicker(options) $ -> initialize() $(document).on 'page:change', -> initialize() $(document).on 'turbolinks:load', -> initialize() $(document).on 'cocoon:after-insert', -> initialize()
Version data entries
16 entries across 16 versions & 1 rubygems