effective_datatables 4.3.1 → 4.3.2

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: f26102e385bdb4b061e3ba0b6a92ce1c975a62f3
4
- data.tar.gz: 906ce6f0160143978795ef3a5e5dfb662312e0e8
3
+ metadata.gz: bce1cbc5306668fcececce76aec875bda8b76f6f
4
+ data.tar.gz: 81cccd9b962ddcd3d709d33190c54ba76e836a17
5
5
  SHA512:
6
- metadata.gz: 100b6dc5e3d8cad0b06462bc40cc73088e9ed265a3aad8f228141ce63183cdf6ccf7162eed530dad67b4390e6286a429e20410ad3fa977b677c6bdc2e0ddcdc1
7
- data.tar.gz: 199448f57486dede9c8dabd426c0182564a454461f77b60d6b104b2b82e1c89ec740c7cae02e285949d02164262c1103d493d521fa3ba1dd079d9a5752c501eb
6
+ metadata.gz: 811e931df4538a941a94abf365014fae0efcd0e40e5a614b9e505ababe7dd8c1c175b8a15d71811dcc76f22d499baf3586ec3ca33b0d8ff384ebd8743eedec0b
7
+ data.tar.gz: e398e589472f0d5e8c4aa83a73e65018fbdcdad057c36a40eb56c8b54e0d72f61359b3ac51ffd440fd99fde7045d26e4ba695e16c501409eb51bf36144afdbb0
@@ -1,4 +1,5 @@
1
- $(document).on 'click', '.dataTables_wrapper a[data-apply-effective-datatables-filters]', (event) ->
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())
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '4.3.1'.freeze
2
+ VERSION = '4.3.2'.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: 4.3.1
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-15 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails