diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-29 20:55:18 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2016-05-29 20:55:18 +0200 |
commit | 9c964cba1070aca27408b8bacab0d3584365f600 (patch) | |
tree | 2b6b2b937d6e4b763995d520e70a73af1bf06c56 | |
parent | be065088603400d0bde4fe440d5e459b983ca38e (diff) |
Fix runmode
-rw-r--r-- | afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js index a10030c..20b0b38 100644 --- a/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js +++ b/afm-client/app/Frontend/widgets/ActionButtons/AppliButton.js @@ -93,8 +93,8 @@ } scope.runstatus="start"; notifySuccess (action, jresp); - if(response.data.response.uri) - scope.winapp= $window.open(response.data.response.uri.replace("%h", $location.host())); + if(jresp.response.uri) + scope.winapp= $window.open(jresp.response.uri.replace("%h", $location.host())); }); break; @@ -132,7 +132,7 @@ close : closeModInfo, icon : scope.icon, label : scope.appID, - detail : response.data.response + detail : jresp.response }, template : tmplDetail }; // Popup Modal to render application data |