update new Datatable
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user