diff --git a/web/startScan/templates/startScan/schedule_scan_list.html b/web/startScan/templates/startScan/schedule_scan_list.html index 681a32b21..263923c6d 100644 --- a/web/startScan/templates/startScan/schedule_scan_list.html +++ b/web/startScan/templates/startScan/schedule_scan_list.html @@ -81,7 +81,7 @@

Scheduled Scans

- + diff --git a/web/static/custom/custom.js b/web/static/custom/custom.js index 49828e9ff..2fc41a3db 100644 --- a/web/static/custom/custom.js +++ b/web/static/custom/custom.js @@ -36,12 +36,12 @@ function jsEscape(str){ } -function deleteScheduledScan(id, task_name) +function deleteScheduledScan(id) { const delAPI = "../delete/scheduled_task/"+id; swal.queue([{ - title: 'Are you sure you want to delete ' + task_name + '?', - text: "You won't be able to revert this!", + title: 'Are you sure you want to delete this?', + text: "This action is irreversible.", type: 'warning', showCancelButton: true, confirmButtonText: 'Delete',