X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-demo.git;a=blobdiff_plain;f=afm-client%2Fapp%2FFrontend%2Fwidgets%2FActionButtons%2FAppliButton.js;fp=afm-client%2Fapp%2FFrontend%2Fwidgets%2FActionButtons%2FAppliButton.js;h=20b0b382aea8affdb4c2c73b337e0d96465e4129;hp=a10030cbf4d333b96cfff8a2e770ec619c24e52f;hb=9c964cba1070aca27408b8bacab0d3584365f600;hpb=be065088603400d0bde4fe440d5e459b983ca38e 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