From: Yannick Gicquel Date: Thu, 28 Jan 2016 18:39:10 +0000 (+0100) Subject: AppliButton: fixup terminate action X-Git-Tag: blowfish_2.0.1~28 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=commitdiff_plain;h=ba3ec968e550e6db1f9753c000b4a81306d271f0 AppliButton: fixup terminate action 'stop' is used to put apps in pause, and 'cont' to unpause them. to exit an app, 'terminate' has been choosen Signed-off-by: Yannick Gicquel --- diff --git a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js index f54c5b0..b2d42b0 100644 --- a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js +++ b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js @@ -89,7 +89,7 @@ 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;