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: 3ecf811318168faa39e96c1e9b03eb57f185ee01
4
- data.tar.gz: 9b32ceb6b7141e36440cac85b9e5c67c142668c5
3
+ metadata.gz: d2f7ad90816a28b45857f43b357d89e45fb89e83
4
+ data.tar.gz: 62245f5482d798bafb522b8f366085a598b6839e
5
5
  SHA512:
6
- metadata.gz: 40ad7ef06fcdc15a7c6f9bf2d6953bee53ab340f69b4d0c137bfa6a68c6b095759e3eb1536f151f66daa1446231f32b4b4e31e16579c331b1341565715597f20
7
- data.tar.gz: e48bd5514767a6ebdadefa827e857b85769fe885140582a08cbd664a1129a27ad04c3bffa7106ccd92c44a6273b9330107c8edce0998dc85cae7e677f0b9d7a8
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
@@ -1,3 +1,3 @@
1
1
  module CoolNestedForms
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-08-31 00:00:00.000000000 Z
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