Fix for when creating new addresses to a node
This commit is contained in:
parent
929d25c737
commit
44e7ef5d90
@ -176,6 +176,11 @@
|
||||
@if($errors->count())
|
||||
<span class="btn btn-sm btn-danger" role="alert">
|
||||
There were errors with the submission.
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</span>
|
||||
@endif
|
||||
</span>
|
||||
@ -425,7 +430,7 @@
|
||||
$('#sec-level').removeClass('d-none');
|
||||
$(this).parent().find('i').removeClass('spinner-grow spinner-grow-sm');
|
||||
|
||||
if (modify.responseJSON) {
|
||||
if (modify && modify.responseJSON) {
|
||||
$('#submit').val(id);
|
||||
$('#action').val('update');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user