Sha256: f49f4957a6350a3b01678f35c4db1e1f0d9b5cec016ceff24e7dd8581ee23f44
Contents?: true
Size: 747 Bytes
Versions: 7
Compression:
Stored size: 747 Bytes
Contents
# Initializers $ -> # jQuery datepickers (also evaluates dynamically added HTML) $(document).on 'focus', '.datepicker:not(.hasDatepicker)', -> $(@).datepicker dateFormat: 'yy-mm-dd' # Clear Filters button $('.clear_filters_btn').click -> window.location.search = '' # Batch Actions dropdown $('.dropdown_button').popover() # Filter form: don't send any inputs that are empty $('.filter_form').submit -> $(@).find(':input').filter(-> @value is '').prop 'disabled', true # Filter form: for filters that let you choose the query method from # a dropdown, apply that choice to the filter input field. $('.filter_form_field.select_and_search select').change -> $(@).siblings('input').prop name: "q[#{@value}]"
Version data entries
7 entries across 7 versions & 2 rubygems