mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Removed oops state if model has no fields
This commit is contained in:
parent
ca490fd129
commit
f9bed9264f
|
@ -175,13 +175,10 @@
|
|||
"X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
_token: "{{ csrf_token() }}",
|
||||
dataType: 'json',
|
||||
dataType: 'html',
|
||||
success: function (data) {
|
||||
data: data,
|
||||
$('#custom_fields_content').html(data);
|
||||
},
|
||||
error: function (data) {
|
||||
alert('oops');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue