aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Donley <christopher.donley@huawei.com>2018-04-16 13:31:52 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-16 13:31:52 +0000
commit9c32e1397f5b9a68ad9952e75f99484dec9b934c (patch)
tree5d61bac685a967a90ab3e7413bf92d4f6fa2aaeb
parentfeb2fddd4cffd634e48629cc3c7648a3e23ddc1b (diff)
parenta9a130272f8ffd1b9d0681abc01c9774196bf21c (diff)
Merge "in retry exception in coming in onboarding.js"
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/app/modules/home/serviceUpload/onboarding/onboarding.js4
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;