diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index 18f1c0148c..8ba2736489 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -28,7 +28,7 @@ @else
- +
@@ -232,7 +232,7 @@ box_html += ''; box_html += '
'; box_html += '
'; - box_html += ''; + box_html += ''; box_html += '
'; box_html += '
'; box_html += ''; @@ -260,7 +260,7 @@ e.preventDefault(); console.log(x); - $('.fields_wrapper').parent('div').remove(); + $(this).parent('div').parent('div').parent('span').remove(); x--; }) }); diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php index 7f1e798f33..3e197ce3cd 100644 --- a/resources/views/layouts/default.blade.php +++ b/resources/views/layouts/default.blade.php @@ -801,7 +801,7 @@ $.validate({ form : '#create-form', - modules : 'date,toggleDisabled', + modules : 'date,toggleDisabled,security', disabledFormFilter : '#create-form', showErrorDialogs : true });