update new Datatable

This commit is contained in:
Markus
2024-07-12 23:21:35 +02:00
parent 5cb2bb142b
commit eb028d1783
7 changed files with 133 additions and 21 deletions

View File

@@ -134,7 +134,7 @@ $(document).ready(function(){
myModal.addEventListener('show.bs.modal', function (event) {
var button = event.relatedTarget;
table = button.closest('table').id; // table row ID
var id = button.getAttribute('data-bs-id');
var id = button.getAttribute('data-bs-id');
myModal.setAttribute('data-bs-id',id);
myModal.setAttribute('data-bs-table',table);
var modalTitle = myModal.querySelector('.modal-title');