web: fix delete flows

This commit is contained in:
Legend Tang 2015-03-30 20:18:56 +08:00
parent 5977e844e7
commit 269571efe5
3 changed files with 1247 additions and 1451 deletions

View File

@ -420,7 +420,7 @@ var FlowActions = {
}); });
}, },
clear: function(){ clear: function(){
$.post("/flows/" + flow.id); $.post("/clear");
} }
}; };

File diff suppressed because it is too large Load Diff

View File

@ -116,7 +116,7 @@ var FlowActions = {
}); });
}, },
clear: function(){ clear: function(){
$.post("/flows/" + flow.id); $.post("/clear");
} }
}; };