Sha256: 985a7e869bcc7c602bc8b7d9d1d9f7338138adf286e91452ebbc6b6de3c41ad1
Contents?: true
Size: 416 Bytes
Versions: 41
Compression:
Stored size: 416 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 'cocoon:after-insert', -> initialize()
Version data entries
41 entries across 41 versions & 1 rubygems