nested_form_fields 0.8.3 → 0.8.4

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: cd4df0cf94166b6a42a70a0676168960735f6fd92d1cc07ba6c942495e4042e2
4
- data.tar.gz: de6ca1333d9d98c2a965c1526c6cf17c43ccf617000cabbed1d279ab04c2fdb6
3
+ metadata.gz: 236d8d7b63143d4f30595622869bee46712a055ef652de7fd57ae6b754d8e19f
4
+ data.tar.gz: fc404d3d852c8d65097a2559478e8fb7057cdf7d4aab93f151accec28366c3b4
5
5
  SHA512:
6
- metadata.gz: d91f11f1dadf41e12edd49d63a2eee4d126ceace8e0cf93eb6d595e2db28245ea61dbab4bffcf4ddf4307d816cda9e3ae08f33a2932056e3f512dbb3c9de9770
7
- data.tar.gz: ec662c27318ba48fff3ef627fd94529a25872bca7c15e170640236be537657ff577b6d47838a5b2603d27284a7d8aeafde0198bac56287fd1a9acd2e2f66777c
6
+ metadata.gz: b77de97deb51cbe1022d436f41d22f9fb89a559d22aa02477d5f7cd8c5d08eb500090c6c5a6771bc437567edffeca7a8edba99543b545693f5123f04570e11b4
7
+ data.tar.gz: ea3b05a99b66042edf6e48798bd8be2903dddad0638d7cb89cb0d370a4673abcd762d05d99453335efdd9e858a982c53f0e399e37578b17567e14535546ae44b
@@ -40,6 +40,7 @@ nested_form_fields.bind_nested_forms_links = () ->
40
40
  $('body').on 'click', '.remove_nested_fields_link', ->
41
41
  $link = $(this)
42
42
  return false unless $.rails == undefined || $.rails.allowAction($link)
43
+ return false if $link.attr('disabled')
43
44
  object_class = $link.data('object-class')
44
45
  delete_association_field_name = $link.data('delete-association-field-name')
45
46
  removed_index = parseInt(delete_association_field_name.match('(\\d+\\]\\[_destroy])')[0].match('\\d+')[0])
@@ -1,3 +1,3 @@
1
1
  module NestedFormFields
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
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.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Ritsche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-14 00:00:00.000000000 Z
11
+ date: 2020-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails