effective_bootstrap 1.18.2 → 1.18.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
  SHA256:
3
- metadata.gz: 5302b6d0c04db48d42502b5b99d88d12f0426866b2010df8d6d0c3fe66921d06
4
- data.tar.gz: 624a1fe7e90e6c56388af3f2b4e0759b825ef074594f99d73c1fddab07572636
3
+ metadata.gz: 79236650f3f5d4780476e31a6adf688cea299e979f4d15315288776f4cc7d919
4
+ data.tar.gz: b740e8ffeb5dca5834807db69166585f3ff5ce47db6feca5af922c3c20b2e360
5
5
  SHA512:
6
- metadata.gz: 030aca2c834d1f66f864a63d318ed670490aee57a8b39c7283cdda8becd767a609b1d83e8ce08ecd6ae1050e3c29fa8e8c18cb818998cf040af380ef478271fc
7
- data.tar.gz: a263e43051762c670c6c96219de68996a84538b643ff1fa69a9e1d0dbad5cf46ebef53bbd075c631d9afe4c1174cad50d5f67afda70c2d40ff34c23fb79d91cc
6
+ metadata.gz: 53e801423ad7dcb43eb77472ec78058140d43d516ea80816b96e2e48d4cff9745c7d9e599ee08b4a08ffde52b230a8f20681b7562a4ddcbc2124c1e2b537f90c
7
+ data.tar.gz: 4b1827cb86a1c1111185acb2afb38230fd8ed5b03471cf0b1f525305cf8254ee64c3de8913b5d5f1823fe65aafca9419d567ae6bb9925a4578fb2e6cb43f8176
@@ -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() || '');
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.18.2'.freeze
2
+ VERSION = '1.18.3'.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.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: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails