This commit is contained in:
arussac
2025-03-10 15:43:22 +01:00
parent 14e3e95054
commit f1dc322a1d
2 changed files with 17 additions and 15 deletions

View File

@@ -85,7 +85,9 @@ function display_projects() {
document.getElementById('okBtn').onclick = function() {
document.getElementById('customAlert').style.display = 'none';
// Call your delete function here
deleteProject(global_project_list[i].id);
deleteProject(global_project_list[i].id).then(()=>{
location.reload();
})
};
document.getElementById('cancelBtn').onclick = function() {