effective_datatables 3.5.3 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3813562b9c177a651b008fd0781a94515ace3f66
4
- data.tar.gz: 460a5d7a7c517f5bb866961c17a24253eeaa8833
3
+ metadata.gz: bb6cc238f24434a34c62758d12f4fde3bbf4df04
4
+ data.tar.gz: 9b256d994da5bc2cd2cea3ff806022df755e9a9b
5
5
  SHA512:
6
- metadata.gz: 180762a057ac6273feae00328a5567e8d440d6df57e366bc39c3608de76718d190b54c9cdafdfbd1f31f164a4b7d03c9dca6d42a3ae448d48f6c0de8bbadb83b
7
- data.tar.gz: 292532e3113a6c099995ec30b0f7aa920e84e7833208c3eaaed9e524f3cc6d6314fde55bae23d402b2f36a6a0b577c20360fa2b1ea29db6657ecc8f63bdac738
6
+ metadata.gz: 691651d1bee6cada62b81b2157a096bd0c95d7bdf71251005854e05cf928a75fd0853820d2bcd468ba8a50e6702f8f1900feb2be8812f21b186c8f722a191185
7
+ data.tar.gz: 892b8b0a4f070e714118ffad499e0a119c5ec9fc25cc57192e24f95d40a046ebc4045fa727358f59a1cef0f4013c922c5297d45413a42d2a10d98b5b02297fde
@@ -64,6 +64,7 @@ initializeDataTables = ->
64
64
  $form = $(".effective-datatables-filters[aria-controls='#{$table.attr('id')}']").first()
65
65
 
66
66
  params['cookie'] = $table.data('cookie')
67
+ params['authenticity_token'] = $table.data('authenticity-token')
67
68
 
68
69
  if $form.length > 0
69
70
  params['scope'] = $form.find("input[id^='filters_scope']:checked").val() || ''
@@ -20,6 +20,7 @@ module EffectiveDatatablesHelper
20
20
  id: datatable.to_param,
21
21
  class: ('effective-datatable ' + Array(datatable.table_html_class).join(' ')),
22
22
  data: {
23
+ 'authenticity-token' => form_authenticity_token,
23
24
  'effective-form-inputs' => defined?(EffectiveFormInputs),
24
25
  'bulk-actions' => datatable_bulk_actions(datatable),
25
26
  'columns' => datatable_columns(datatable),
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '3.5.3'.freeze
2
+ VERSION = '3.5.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_datatables
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-12 00:00:00.000000000 Z
11
+ date: 2019-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails