Sha256: 67679fe5c581137fa7ad4ac07780d9e80973bb5015e1a9b9feac4a2f3073b55c

Contents?: true

Size: 467 Bytes

Versions: 22

Compression:

Stored size: 467 Bytes

Contents

#= require jquery
#= require jquery_ujs
#= require js-routes
#= require record_collection/all
#= require foundation.min
#= require_tree .
#= require_self
$ ->
  $(document).optionals()
  $(document).foundation()
  if selector = $(document).multi_select()
    $('#selected-records-action').click ->
      ids = selector.selected_ids()
      return alert "No records selected" unless ids.length
      window.location = "/employees/collection_edit?#{$.param(ids: ids)}"

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
record_collection-0.5.2 spec/dummy/app/assets/javascripts/application.js.coffee
record_collection-0.5.1 spec/dummy/app/assets/javascripts/application.js.coffee