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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6cc238f24434a34c62758d12f4fde3bbf4df04
|
4
|
+
data.tar.gz: 9b256d994da5bc2cd2cea3ff806022df755e9a9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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),
|
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.
|
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:
|
11
|
+
date: 2019-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|