fix: confirmDelete -> cancel Delete

This commit is contained in:
Kingtous 2022-04-29 01:24:04 +08:00
parent 74b3cb1c58
commit 265e3c760e

View File

@ -694,7 +694,7 @@ handler.confirmDeleteFiles = function(id, i, name) {
</div>", function(res=null) {
if (!res) {
jt.updateJobStatus(id, i - 1, "cancel");
file_transfer.job_table.confirmDeletePolling();
file_transfer.job_table.cancelDeletePolling();
} else if (res.skip) {
if (res.remember){
jt.updateJobStatus(id, i, "cancel");