Sha256: 23d71ca32261dd07a1a6d47fb476a923fd72a61037714aa7b646bd9197e6bddd
Contents?: true
Size: 411 Bytes
Versions: 39
Compression:
Stored size: 411 Bytes
Contents
# http://eonasdan.github.io/bootstrap-datetimepicker/Options/ initialize = -> $('input.effective_date_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
39 entries across 39 versions & 1 rubygems