diff --git a/app/static/js/ResourceLists/JobList.js b/app/static/js/ResourceLists/JobList.js index a568c646d275851a63884b4a325adc589d0ddf24..473ae826bf5c43eb4c33b9a2db09d490fc6fcbc6 100644 --- a/app/static/js/ResourceLists/JobList.js +++ b/app/static/js/ResourceLists/JobList.js @@ -228,7 +228,7 @@ class JobList extends ResourceList { let confirmElement = modalElement.querySelector('.action-button[data-action="confirm"]'); confirmElement.addEventListener('click', (event) => { this.selectedItemIds.forEach(selectedItemId => { - Requests.corpora.entity.files.ent.delete(this.corpusId, selectedItemId); + Requests.jobs.entity.delete(selectedItemId); }); this.selectedItemIds.clear(); this.renderingItemSelection();