admin ui changes
This commit is contained in:
parent
f3ea959f50
commit
e409287632
@ -52,6 +52,7 @@ function displayList(data, element_id, delete_function=null) {
|
||||
if(typeof delete_function === "function") {
|
||||
const td = document.createElement("td");
|
||||
let delete_button = document.createElement('button');
|
||||
delete_button.textContent = "Delete"
|
||||
delete_button.onclick = function (){
|
||||
delete_function(line.ID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user