Partially reverted a UX change on zone template record editor view to keep things working until it gets a full rebuild.

This commit is contained in:
Matt Scott 2023-02-20 12:30:57 -05:00
parent 65b7b9a5c3
commit be827c2362

View File

@ -50,7 +50,8 @@
<th>TTL</th> <th>TTL</th>
<th>Data</th> <th>Data</th>
<th>Comment</th> <th>Comment</th>
<th>Actions</th> <th>Edit</th>
<th>Delete</th>
<th>ID</th> <th>ID</th>
</tr> </tr>
</thead> </thead>
@ -80,6 +81,8 @@
title="Edit Record"> title="Edit Record">
<i class="fa-solid fa-edit"></i> <i class="fa-solid fa-edit"></i>
</button> </button>
</td>
<td>
<button type="button" class="btn btn-sm btn-danger button_delete" <button type="button" class="btn btn-sm btn-danger button_delete"
title="Delete Record"> title="Delete Record">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-trash"></i>
@ -135,14 +138,14 @@
// hidden column so that we can add new records on top // hidden column so that we can add new records on top
// regardless of whatever sorting is done. See orderFixed // regardless of whatever sorting is done. See orderFixed
visible: false, visible: false,
targets: [7] targets: [8]
}, },
{ {
className: "length-break", className: "length-break",
targets: [4, 5] targets: [4, 5]
} }
], ],
"orderFixed": [[7, 'asc']] "orderFixed": [[8, 'asc']]
}); });
// handle delete button // handle delete button