effective_datatables 4.3.1 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bce1cbc5306668fcececce76aec875bda8b76f6f
|
|
4
|
+
data.tar.gz: 81cccd9b962ddcd3d709d33190c54ba76e836a17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 811e931df4538a941a94abf365014fae0efcd0e40e5a614b9e505ababe7dd8c1c175b8a15d71811dcc76f22d499baf3586ec3ca33b0d8ff384ebd8743eedec0b
|
|
7
|
+
data.tar.gz: e398e589472f0d5e8c4aa83a73e65018fbdcdad057c36a40eb56c8b54e0d72f61359b3ac51ffd440fd99fde7045d26e4ba695e16c501409eb51bf36144afdbb0
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
# Don't scope by .datatables_wrapper here, because it's out of the wrapper!
|
|
2
|
+
$(document).on 'click', 'a[data-apply-effective-datatables-filters]', (event) ->
|
|
2
3
|
event.preventDefault()
|
|
3
4
|
$form = $(event.currentTarget).closest('.effective-datatables-filters')
|
|
4
5
|
$table = $('#' + $form.attr('aria-controls'))
|
|
@@ -92,6 +92,8 @@ initializeDataTables = ->
|
|
|
92
92
|
if settings['json']['charts']
|
|
93
93
|
drawCharts($table, settings['json']['charts'])
|
|
94
94
|
|
|
95
|
+
$table.children('tbody').trigger('effective-bootstrap:initialize')
|
|
96
|
+
|
|
95
97
|
# Copies the bulk actions html, stored in a data attribute on the table, into the buttons area
|
|
96
98
|
initializeButtons = (api) ->
|
|
97
99
|
$table = $(api.table().node())
|
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: 4.3.
|
|
4
|
+
version: 4.3.2
|
|
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-09-
|
|
11
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|