administrate_batch_actions 0.3.1 → 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: a33ac2550f09f1b8cb9a9bae773380bf14c55d7d5422835a2b170e31c716f983
4
- data.tar.gz: 3ee144b51a5b9a404421c34a9113395a8975fc2cee971025c89ea6df614b924c
3
+ metadata.gz: 6f01f218853e0b7644c8a52a7ec22168202b60d8d95629481322539749444acd
4
+ data.tar.gz: 158357cb9d296571ab1be3901c93ed524f602d8a1682d2776039142899f5491c
5
5
  SHA512:
6
- metadata.gz: 2385cd89b2487180784f61766d531666d95d5b31f192744a2d35553672477676cb2e03a4872d2d8b58f45f94df2d60084bc3d15ce514cc5cc2d317082e4a30b7
7
- data.tar.gz: bdf87209596907b29b653c66e18b056b393dce3b3775184f0d4b5f00c4870a52e4ac63bacf055b0d62d3755d07ea832018c03b3f39eac8fc6466941f8083b34f
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
  module AdministrateBatchActions
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate_batch_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sourcelabs LLC