mirror of https://github.com/ouqiang/gocron
parent
e9b475a230
commit
3fd5b2ee55
|
@ -23,6 +23,7 @@ _testmain.go
|
|||
*.test
|
||||
*.prof
|
||||
|
||||
.DS_Store
|
||||
.idea
|
||||
log/*
|
||||
data/*
|
||||
|
|
|
@ -211,7 +211,12 @@
|
|||
}
|
||||
|
||||
function remove(id, stopReload) {
|
||||
util.post('/task/remove/' + id, {}, function () {
|
||||
var url = '/task/remove/' + id;
|
||||
if (stopReload === undefined) {
|
||||
util.removeConfirm(url);
|
||||
return;
|
||||
}
|
||||
util.post(url, {}, function () {
|
||||
if (stopReload === undefined) {
|
||||
location.reload();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue