cool_nested_forms 0.1.1 → 0.1.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: d2f7ad90816a28b45857f43b357d89e45fb89e83
|
4
|
+
data.tar.gz: 62245f5482d798bafb522b8f366085a598b6839e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50eccdcb03196c2594f2a24c1d753779eb6133ef55b4531479b8f8ff37171a537b4d8f49cd9104ad60e8163d4d425dd7f38a0af18f90ff2cd2e1d8173332be54
|
7
|
+
data.tar.gz: f702ec2ed7182732a972d9722ad19e4b293294fd805ae6ad654f414a9aea7e0304bb1bb9f5d00d9f2f8646fb7d902b5bc3da19cdae0e94ebf74ab57578f1b6f0
|
@@ -23,12 +23,14 @@ $(function(){
|
|
23
23
|
Dest.append(child_script_tag.replace(regexp_child_template, "_" + new_id + "_"));
|
24
24
|
}
|
25
25
|
}
|
26
|
+
$(document).trigger('coolNestedForms.childAdded');
|
26
27
|
return false;
|
27
28
|
});
|
28
29
|
|
29
30
|
$(document).delegate('.remove_child','click', function() {
|
30
31
|
$(this).parent().children('.removable')[0].value = 1;
|
31
32
|
$(this).parent().hide();
|
33
|
+
$(document).trigger('coolNestedForms.childRemoved');
|
32
34
|
return false;
|
33
35
|
});
|
34
36
|
});
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cool_nested_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Roque
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -87,6 +87,7 @@ files:
|
|
87
87
|
- app/helpers/cool_nested_forms_helper.rb
|
88
88
|
- bin/console
|
89
89
|
- bin/setup
|
90
|
+
- cool_nested_forms-0.1.1.gem
|
90
91
|
- cool_nested_forms.gemspec
|
91
92
|
- lib/cool_nested_forms.rb
|
92
93
|
- lib/cool_nested_forms/engine.rb
|