effective_bootstrap 1.14.5 → 1.14.6

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: 3830b85eac4d17ee79fa420b2ed161c4bb395e19a116978cf6b942ce3e11b1ff
4
- data.tar.gz: 7763c6ec3e664a607dced1038438479ebdcaf412dfc9ffe20bfcded55f3e7d88
3
+ metadata.gz: 5bc9d86d299ae2bf3ef767a32e66f7f3a6e4f451f16bb7bf5bc6e0a451c467a3
4
+ data.tar.gz: dbe37c241ededf99c80c2df269307abc0f048c15771475bb5e412ad3a6b84dba
5
5
  SHA512:
6
- metadata.gz: 32cfd50d13eae43a044af215634ff38c5cd2dd09bf6a05ef415c2312d95c6239c70e41067f8b9295f1040735096b42b45d1e1440c48cd9ab3c462166c32c3cb4
7
- data.tar.gz: 3b7afe371608c0388ff14a38b1a3d260f49e35486db1692da31d490fb04876486565fc87d835ee13fa8c3c77330d96525f93ad2aae6e8b88b6a8b9c95d0db86c
6
+ metadata.gz: cb1d95a678fa6d2c7b2b668002ea1f5ab15356a913e9d95ddf8639049cf1ec32e766f02f2ff2fd3292c6e200b362e9d810ce92c5458a356b20df22df2a9675ad
7
+ data.tar.gz: 2deee038c41e3619c4479d7b8191260fa16d6b35797eab8455cd73b793cc89cc1a1b3caed9bef85bd39aee503a45d2a59dff674b56f9530d12b23278e877fe70
@@ -15,7 +15,12 @@ $(document).on('change', "[data-load-ajax-url][data-load-ajax-div]", function(ev
15
15
  let value = ($input.val() || '');
16
16
  if(value.length == 0) { $container.html(''); return; }
17
17
 
18
- url = (url + '?' + name + '=' + value);
18
+ let joiner = (url.indexOf('?') == -1 ? '?' : '&');
19
+
20
+ let input = {}
21
+ input[name] = value;
22
+
23
+ url = (url + joiner + $.param(input));
19
24
 
20
25
  $container.html("<div class='load-ajax-loading'><p>Loading...</p></div>");
21
26
 
@@ -27,6 +32,7 @@ $(document).on('change', "[data-load-ajax-url][data-load-ajax-div]", function(ev
27
32
  } else {
28
33
  $container.replaceWith($content.children(div));
29
34
  EffectiveBootstrap.initialize();
35
+ $(document).trigger('effective-datatables:initialize');
30
36
  }
31
37
  });
32
38
  });
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.14.5'.freeze
2
+ VERSION = '1.14.6'.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.14.5
4
+ version: 1.14.6
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: 2023-05-30 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -737,7 +737,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
737
737
  - !ruby/object:Gem::Version
738
738
  version: '0'
739
739
  requirements: []
740
- rubygems_version: 3.1.2
740
+ rubygems_version: 3.4.10
741
741
  signing_key:
742
742
  specification_version: 4
743
743
  summary: Everything you need to get set up with bootstrap 4.