effective_bootstrap 1.18.2 → 1.18.4

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: 5302b6d0c04db48d42502b5b99d88d12f0426866b2010df8d6d0c3fe66921d06
4
- data.tar.gz: 624a1fe7e90e6c56388af3f2b4e0759b825ef074594f99d73c1fddab07572636
3
+ metadata.gz: 7e1cf325e183ecc0df0f3c7be9dc73f5c16ae3878472009d2903769b00dcbc38
4
+ data.tar.gz: 863c781ded85cafb6e17cd6893f239dbf50811491d219d43e8bc9581bcaefed9
5
5
  SHA512:
6
- metadata.gz: 030aca2c834d1f66f864a63d318ed670490aee57a8b39c7283cdda8becd767a609b1d83e8ce08ecd6ae1050e3c29fa8e8c18cb818998cf040af380ef478271fc
7
- data.tar.gz: a263e43051762c670c6c96219de68996a84538b643ff1fa69a9e1d0dbad5cf46ebef53bbd075c631d9afe4c1174cad50d5f67afda70c2d40ff34c23fb79d91cc
6
+ metadata.gz: 640119caa5abc25fca4481e78906d6ffa9193a3efc0f8302d69a1d9934661e207a505b9e8231b9f18dd1f479b5a6309700f04d532d5ff2c50acb961f4ad596d4
7
+ data.tar.gz: bf1f54c06c840410ffbbd00e07f323b2dc2a336c16f03f6345352345ae6eb08eb18b3ae72a8021a364eb9671a3675483b472423e049749d1dab8eb8faa8aa7cb
@@ -9,7 +9,8 @@ $(document).on('change', "[data-load-ajax-url][data-load-ajax-div]", function(ev
9
9
  let $container = $input.closest('form').find(div);
10
10
  if(div.length == 0) { console.error("Unable to find load ajax div " + div); return; }
11
11
 
12
- let name = ($input.attr('name').split(/\[|\]/)[1] || '');
12
+ let name = $input.data('load-ajax-name') || '';
13
+ if(name.length == 0) { name = ($input.attr('name').split(/\[|\]/)[1] || ''); }
13
14
  if(name.length == 0) { console.error("Unable to parse load ajax input name " + $input.attr('name')); return; }
14
15
 
15
16
  let value = ($input.val() || '');
@@ -5,7 +5,7 @@ module Effective
5
5
  class PercentField < Effective::TableRow
6
6
 
7
7
  def content
8
- template.number_to_percent(value) if value.present?
8
+ template.number_to_percentage(value) if value.present?
9
9
  end
10
10
 
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.18.2'.freeze
2
+ VERSION = '1.18.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.2
4
+ version: 1.18.4
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: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails