summaryrefslogtreecommitdiffstats
path: root/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-01-28 19:39:10 +0100
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-01-28 19:39:14 +0100
commitba3ec968e550e6db1f9753c000b4a81306d271f0 (patch)
tree9aff5700ddf41dc3e988ff07da40abc1a18d369d /afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js
parent1a27a69f597abf8bd81aa63a695996c9a9b215a7 (diff)
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 <yannick.gicquel@iot.bzh>
Diffstat (limited to 'afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js')
-rw-r--r--afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js2
1 files changed, 1 insertions, 1 deletions
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;