removeTask()

This commit is contained in:
cmdr2 2022-12-13 12:02:43 +05:30 committed by GitHub
parent f00e1a92d8
commit 80bc80dc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -825,7 +825,7 @@ function createTask(task) {
let question = (task['isProcessing'] ? "Stop this task?" : "Remove this task?")
shiftOrConfirm(e, question, async function(e) {
if (task.batchesDone <= 0 || !task.isProcessing) {
taskEntry.remove()
removeTask(taskEntry)
}
abortTask(task)
})