A free open source IT asset/license management system
Removed oops state if model has no fields
snipef9bed9264f05
diff --git a/resources/views/hardware/edit.blade.php b/resources/views/hardware/edit.blade.phpindex 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');}});}