diff options
author | Anjali Walsatwar <anjali.walsatwar@huawei.com> | 2018-04-16 15:32:29 +0530 |
---|---|---|
committer | Anjali Walsatwar <anjali.walsatwar@huawei.com> | 2018-04-16 15:32:29 +0530 |
commit | a9a130272f8ffd1b9d0681abc01c9774196bf21c (patch) | |
tree | c5ae7a9d754aba832a14f38c56cf663aa25ad147 /vnfmarket/src/main/webapp | |
parent | e345052ecaecde4835b9694251fbdb2110941d90 (diff) |
in retry exception in coming in onboarding.js
in retry exception in coming in onboarding.js
Issue-ID: VNFSDK-238
Change-Id: Idbeeb568231a77d37a3cdb89b2e18304e9efaf7f
Signed-off-by: Anjali Walsatwar <anjali.walsatwar@huawei.com>
Diffstat (limited to 'vnfmarket/src/main/webapp')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js index e9803480..1d690847 100644 --- a/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js +++ b/vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js @@ -50,9 +50,9 @@ $(".onboardProgress .progress3 .progressDiv").removeClass("progressed");
$(".onboardProgress .progress3 .roundProg").removeClass("progressed");
- var fileName = $stateParams.csarName
+ var fileName = $stateParams.csarName;
- vm.mainTitle = fileName.slice(0, fileName.lastIndexOf("."));
+ vm.mainTitle = fileName ? fileName.slice(0, fileName.lastIndexOf(".")) : '';
//vm.mainTitle = $stateParams.csarName;//"clearwater_ns";
var csarId = $stateParams.csarId;
|