diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.php index 7d353ac17d..c83a42abf9 100755 --- a/resources/views/hardware/edit.blade.php +++ b/resources/views/hardware/edit.blade.php @@ -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'); } }); }