break;
case "stop":
- AppCall.get ("afm-main", "stop", {id: scope.runID}, function(response) {
+ AppCall.get ("afm-main", "terminate", {runid: scope.runID}, function(response) {
if (response.status !== 200 || response.data.jtype !== "AJB_reply") {
notifyError ("stop", response);
return;