Skip to content

A free open source IT asset/license management system

Fixed table headers for custom fields

sniped0cf76989ada
diff --git a/public/js/bootstrap-table.js b/public/js/bootstrap-table.js
index 036d4a2e81..f90f44f330 100755
--- a/public/js/bootstrap-table.js
+++ b/public/js/bootstrap-table.js
@@ -820,7 +820,7 @@
if (column.checkbox) {
if (!that.options.singleSelect && that.options.checkboxHeader) {
- text = '<label for="btSelectAll" class="sr-only">Select All</label><input name="btSelectAll" type="checkbox" />';
+ text = '<label for="btSelectAll" class="sr-only">Select All</label><input name="btSelectAll" type="checkbox">';
}
that.header.stateField = column.field;
}
diff --git a/resources/views/custom_fields/index.blade.php b/resources/views/custom_fields/index.blade.php
index e6f3554dab..510c718651 100644
--- a/resources/views/custom_fields/index.blade.php
+++ b/resources/views/custom_fields/index.blade.php
@@ -44,7 +44,7 @@
<th>{{ trans('general.name') }}</th>
<th>{{ trans('admin/custom_fields/general.qty_fields') }}</th>
<th>{{ trans('admin/custom_fields/general.used_by_models') }}</th>
- <th><span class="sr-only">Actions</span></th>
+ <th>Actions</th>
</tr>
</thead>
@@ -132,7 +132,7 @@
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_format') }}</th>
<th data-searchable="true">{{ trans('admin/custom_fields/general.field_element_short') }}</th>
<th data-searchable="true">{{ trans('admin/custom_fields/general.fieldsets') }}</th>
- <th><span class="sr-only">Actions</span></th>
+ <th>Actions</th>
</tr>
</thead>
<tbody>