diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-04-15 22:01:37 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-04-15 22:01:37 +0200 |
commit | 922b183f441a6e68b55592596fa62cc6e1814f74 (patch) | |
tree | 4da858e9fe8d322bca6211a8a82a5f0651d373a3 /afm-client/app/Frontend/widgets/ActionButtons | |
parent | b7fc92a77ba73e983eed280d769c8f7a86b0db3a (diff) |
update to afb-daemon evolutions
- change the jtype
- names uploaded widgets 'widget'
Change-Id: I4634f71f820ba9c6619d944dd68b0238ed649a23
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'afm-client/app/Frontend/widgets/ActionButtons')
-rw-r--r-- | afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js index f2d2056..269ee81 100644 --- a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js +++ b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js @@ -87,7 +87,7 @@ case "start": if (scope.runstatus !== "stop") return; AppCall.get ("afm-main", "start", {id: scope.appID, mode: scope.runmode}, function(response) { - if (response.status !== 200 || response.data.jtype !== "AJB_reply") { + if (response.status !== 200 || response.data.jtype !== "afb-reply") { notifyError ("start", response); return; } @@ -102,7 +102,7 @@ if (scope.runstatus !== "start") return; AppCall.get ("afm-main", "terminate", {runid: scope.runID}, function(response) { - if (response.status !== 200 || response.data.jtype !== "AJB_reply") { + if (response.status !== 200 || response.data.jtype !== "afb-reply") { notifyError ("stop", response); return; } @@ -120,7 +120,7 @@ case "info": AppCall.get ("afm-main", "detail", {id: scope.appID}, function(response) { - if (response.status !== 200 || response.data.jtype !== "AJB_reply") { + if (response.status !== 200 || response.data.jtype !== "afb-reply") { notifyError ("detail", response); return; } @@ -145,7 +145,7 @@ case "uninstall": if (scope.runstatus !== "stop") return; AppCall.get ("afm-main", "uninstall", {id: scope.appID}, function(response) { - if (response.status !== 200 || response.data.jtype !== "AJB_reply") { + if (response.status !== 200 || response.data.jtype !== "afb-reply") { notifyError ("uninstall", response); return; } |