app/assets/javascripts/crimagify/nested_forms.js in crimagify-0.0.4.1 vs app/assets/javascripts/crimagify/nested_forms.js in crimagify-0.0.4.2

- old
+ new

@@ -6,10 +6,9 @@ setAttributesNames($frmCrimagify); }else if($frmCrimagify.find(".fieldset_crimagify_nested").length > 1) { $this = $frmCrimagify; var $fieldset = $frmCrimagify.find(".fieldset_crimagify_nested") for (var i = 0; i<$fieldset.length;i++){ - console.log(i) var $new_fieldset = $($fieldset[i]); $new_fieldset.attr("id", "nested_"+i); $new_fieldset.attr("id","nested_" + i); $new_fieldset.find(".parent").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][parent]'); $new_fieldset.find(".parent_id").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][parent_id]'); \ No newline at end of file