|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
@endforeach
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
|
|
|
<template class="{{$columnClass}}-tpl">
|
|
|
<div class="has-many-{{$columnClass}}-form fields-group">
|
|
@@ -77,8 +77,6 @@
|
|
|
});
|
|
|
|
|
|
$(container).on('click', '.remove', function () {
|
|
|
- $(this).closest('form')[0].reset();
|
|
|
-
|
|
|
var $form = $(this).closest('.has-many-{{ $columnClass }}-form');
|
|
|
$form.hide();
|
|
|
$form.find('.{{ Dcat\Admin\Form\NestedForm::REMOVE_FLAG_CLASS }}').val(1);
|