effective_bootstrap 0.5.13 → 0.5.14
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a22604e28dbee3070df8d7944ece53ab87516e4b73bdca830334eb32bf65b78a
|
4
|
+
data.tar.gz: e544a195ef852cc0830d0aab82445a018a021ea4560a57cad6c55a42829cb3c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20bacf7e6b0ec05e1b8d885e27b2e1a63b603dac1066f9085a0cd70245d59428b083ec5f741747b48c21f942d02bd67a677affaeda07c498df07723326f91bc
|
7
|
+
data.tar.gz: 4f200c3ebec853609bc632cf245a296284bba25cdab214f9f0fa58c8336edeb4867e20fa6df9c87dbaf616583c28c23e7874ef69525002926b9c29c27a83ff2c
|
@@ -27,7 +27,8 @@ module EffectiveFormBuilderHelper
|
|
27
27
|
options[:remote] = true if respond_to?(:inline_datatable?) && inline_datatable?
|
28
28
|
|
29
29
|
if options.delete(:remote) == true
|
30
|
-
@_effective_remote_index ||=
|
30
|
+
@_effective_remote_index ||= {}
|
31
|
+
remote_index = remote_index + 1 if @_effective_remote_index[remote_index]
|
31
32
|
|
32
33
|
if options[:html][:data].kind_of?(Hash)
|
33
34
|
options[:html][:data][:remote] = true
|
@@ -38,6 +39,8 @@ module EffectiveFormBuilderHelper
|
|
38
39
|
end
|
39
40
|
|
40
41
|
html_id = "#{html_id}_#{remote_index}"
|
42
|
+
|
43
|
+
@_effective_remote_index[remote_index] = true
|
41
44
|
end
|
42
45
|
|
43
46
|
# Assign default ID
|
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: 0.5.
|
4
|
+
version: 0.5.14
|
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: 2019-06-
|
11
|
+
date: 2019-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|