Sha256: 761bff524e0146aac18e55e4b23d17dcc48194817221bb06d32d57f009f5df75

Contents?: true

Size: 245 Bytes

Versions: 27

Compression:

Stored size: 245 Bytes

Contents

$(document).on 'click', 'a[data-apply-datatable-filters]', (event) ->
  event.preventDefault()
  $form = $(event.currentTarget).closest('.effective-datatable-filters')
  $table = $('#' + $form.attr('aria-controls'))
  $table.DataTable().draw()

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
effective_datatables-3.2.5 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.2.4 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.2.3 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.2.2 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.2.1 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.2 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.1.3 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.1.2 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.1.1 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.1.0 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.16 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.15 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.14 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.13 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.12 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.11 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.10 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.9 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.8 app/assets/javascripts/effective_datatables/filters.js.coffee
effective_datatables-3.0.7 app/assets/javascripts/effective_datatables/filters.js.coffee