From: Fulup Ar Foll Date: Sun, 29 May 2016 18:55:18 +0000 (+0200) Subject: Fix runmode X-Git-Tag: blowfish_2.0.1~4 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=commitdiff_plain;h=9c964cba1070aca27408b8bacab0d3584365f600 Fix runmode --- 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