alchemy-ajax-form 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ajax_forms.js.erb +2 -2
- data/lib/alchemy/ajax/form/version.rb +1 -1
- data/lib/alchemy/ajax/form.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36a4acac3687f6041a55b8efc1c4d445ca213185a2fe6ed368d0fa887d8b8f98
|
4
|
+
data.tar.gz: 2ef67b1ec3ca05197248fbfb2ee2e236dd9a133e0105cbf67dafef8a3c6be9be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5b4509ac463fa1a0f0262870b5f41bf8219c6fb1836296a57c4dab68020f472e83c59c97dba7f6dfed379a12087789ff1e82b48fd5f38be244a963ff11c1a3e
|
7
|
+
data.tar.gz: 23a6006f76f29528cd5583d4ae09acefbd81640fa049cef3a3f6b8ebe640ab44a84dc7ab525929b1a0213ec7062e831ee6cec90ff9beae12b8b353c7711a5155
|
@@ -29,7 +29,7 @@
|
|
29
29
|
|
30
30
|
$.each(errors, function (name, value) {
|
31
31
|
|
32
|
-
var input = $(form).find("*:not([type='hidden'])[name*='" + name + "']")
|
32
|
+
var input = $(form).find("*:not([type='hidden'])[name*='[" + name + "]']")
|
33
33
|
|
34
34
|
|
35
35
|
$(input).addClass("invalid");
|
@@ -139,7 +139,7 @@
|
|
139
139
|
|
140
140
|
var widget_id = grecaptcha.render(container_div[0], {
|
141
141
|
'sitekey': '<%= Recaptcha.configuration.site_key! %>',
|
142
|
-
'badge': '
|
142
|
+
'badge': '<%= Alchemy::Ajax::Form.recaptcha_badge %>',
|
143
143
|
'size': 'invisible',
|
144
144
|
'callback': function () {
|
145
145
|
submit_function(form, method, action);
|
data/lib/alchemy/ajax/form.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy-ajax-form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Baccanelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.0.
|
183
|
+
rubygems_version: 3.0.8
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Structure to implement the forms using ajax and management in the backend
|