nested_form_fields 0.8.1 → 0.8.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 140e3dd9582f3e6319350cfa7a3de78e63d59d0c
|
4
|
+
data.tar.gz: 5e0fa10e752a49552363556f8fe3d07c9d572450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67cfd18c6dd9fb29aa022bdc6f14fca48acf06732d4ff27d5e63ee45f7c05e31adb0d17e64b004bf50cbd29fcb822fe7cd6b5ea53d289697cc49108adc166a1e
|
7
|
+
data.tar.gz: e2d4acdf28882bfd56fce53789048bdf4630aec4ffa855f7ed33651bc692dc1cf0c0680e99df6dbcc5342823a787e6b020a48de6dcbc5ab96f2886a2b82f3ae6
|
@@ -51,7 +51,7 @@ nested_form_fields.bind_nested_forms_links = () ->
|
|
51
51
|
else
|
52
52
|
$nested_fields_container.before "<input type='hidden' name='#{delete_association_field_name}' value='1' />"
|
53
53
|
$nested_fields_container.hide()
|
54
|
-
$nested_fields_container.find('input[required]:hidden').removeAttr('required')
|
54
|
+
$nested_fields_container.find('input[required]:hidden, select[required]:hidden, textarea[required]:hidden').removeAttr('required')
|
55
55
|
$nested_fields_container.trigger("fields_removed.nested_form_fields",{object_class: object_class, delete_association_field_name: delete_association_field_name, removed_index: removed_index});
|
56
56
|
false
|
57
57
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nested_form_fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nico Ritsche
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|