effective_datatables 3.3.2 → 3.3.3

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: 857e42e50924ee8233abe41df28782d7be6d69cf
4
- data.tar.gz: b0e9e1d630dfe4c6eab0a67f4086dbddbdb8c9fb
3
+ metadata.gz: 8245b3e64597822fd3608577b0d198b645743bbf
4
+ data.tar.gz: 2bab04a7e1dbacbb782c78084c5122e8297cf28e
5
5
  SHA512:
6
- metadata.gz: ed11213dafb4ab0e95851d097d782495e2b4fba16a7e4ea65f2e2fdd47c625563e0cd557ab390bf8b97608254fcab2c265e44dc23a55e3926e13899acb66aafb
7
- data.tar.gz: 0cda62c33023ee13931e407ddc789a15d1f085c558283ee52bdf816262288b036e091dca45cf28ff76146a68604df6407cf4e695a549ff91fc3627b9375af2e1
6
+ metadata.gz: 8e57129d7124e7096e47b90260ed6fb6d9393c90cc863ccac05f26df52c6a38219badd9ad0a0b88392f391ad8f0438b302594586d14852b6f243a894cfd168e9
7
+ data.tar.gz: dde278cf7dcb86fefab899db6c8f234698cdb22f71ea51fa797cadcef2999324c13e17fab7ddea71d315514ad33ae15fe7f81b58f2e0e7be21ea7551cb95667a
@@ -1,2 +1,2 @@
1
1
  - id = (resource.try(:to_param) || resource.try(:id) || resource.object_id)
2
- = check_box_tag 'bulk_actions_resources[]', id, false, autocomplete: 'off', id: "bulk_actions_resource_#{id}", data: { role: 'bulk-actions-resource' }, onClick: 'event.stopPropagation();'
2
+ = check_box_tag 'bulk_actions_resources[]', id, false, autocomplete: 'off', id: "datatable_bulk_actions_resource_#{id}", data: { role: 'bulk-actions-resource' }, onClick: 'event.stopPropagation();'
@@ -17,7 +17,7 @@
17
17
  collection: opts[:input_html].delete(:collection),
18
18
  multiple: opts[:input_html].delete(:multiple),
19
19
  input_html: (({name: ''} unless datatable._filters_form_required?) || {}).merge(opts[:input_html]),
20
- input_js: { placeholder: ''},
20
+ input_js: ({ placeholder: ''} if opts[:as] == :effective_select),
21
21
  wrapper_html: {class: 'form-group-sm'}
22
22
 
23
23
  - if datatable._scopes.present? || datatable._filters.present?
@@ -1,3 +1,3 @@
1
1
  module EffectiveDatatables
2
- VERSION = '3.3.2'.freeze
2
+ VERSION = '3.3.3'.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.3.2
4
+ version: 3.3.3
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: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails