Fixed table headers for custom fields

This commit is contained in:
snipe 2020-03-28 02:52:14 -07:00
parent 90a2bf7c9c
commit d0cf76989a
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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>