AppliButton: fixup terminate action
[src/app-framework-demo.git] / afm-client / app / Frontend / widgets / ActionButtons / AppliButton.js
index f54c5b0..b2d42b0 100644 (file)
@@ -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;