administrate_batch_actions 0.3.0 → 0.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
  SHA256:
3
- metadata.gz: f7ba01dc33c559c35b0b7a3a1121edc34faacc91ce7083b3d638d285c16880f6
4
- data.tar.gz: 9b18c836b879efad973cb3e7487cac118307e31a77fc6654a59f82d0e3f97402
3
+ metadata.gz: 6f01f218853e0b7644c8a52a7ec22168202b60d8d95629481322539749444acd
4
+ data.tar.gz: 158357cb9d296571ab1be3901c93ed524f602d8a1682d2776039142899f5491c
5
5
  SHA512:
6
- metadata.gz: 45035d8d3ba5485659aafe52adc564be0c1dc028913332ff5c06db6d47fde3c8b33053fb628abfbbacd883f610b94cdc6bc899ec7a85712ce07b624f67f0422a
7
- data.tar.gz: 644c56ba9400a37c50d71bea381d86db68bfab7542afdd4612246069b805d32f516b7ff960544d849287378e88f56f2158a52590755d7148ff607fe972efbe2c
6
+ metadata.gz: e0351636a2e2bbbda70526c6d0446a90722d490915671c72b7dcb3bd2dd4f5d308d8bbdfcfd1ab1bd28525ddf39fef48223aa4ed79daa8f963d3fd2fa067fbdc
7
+ data.tar.gz: 8288725397e1e55963790a68e9303a3242c9330feeeda26b8ea141d8cc7f8467b911ca9b84c5f871e0856da9c83389b481983b937da4acf3d605a47b0c45cb41
@@ -54,10 +54,12 @@ function checkAndToggleActionButtons() {
54
54
  if (selectedItemIds()) {
55
55
  buttons.forEach(function(button){
56
56
  button.classList.remove('disabled');
57
+ button.removeAttribute('disabled');
57
58
  });
58
59
  } else {
59
60
  buttons.forEach(function(button){
60
61
  button.classList.add('disabled');
62
+ button.setAttribute('disabled', 'disabled');
61
63
  });
62
64
  }
63
65
  }
@@ -1,3 +1,3 @@
1
1
  <td>
2
- <input type="checkbox" value="<%= value %>" data-batch-action-option="checkbox" />
2
+ <input type="checkbox" value="<%= value %>" name='batch_action_ids[]' data-batch-action-option="checkbox" />
3
3
  </td>
@@ -1,3 +1,3 @@
1
1
  module AdministrateBatchActions
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate_batch_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sourcelabs LLC
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2022-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler