From: Seshu-Kumar-M Date: Mon, 31 Oct 2016 07:58:47 +0000 (+0800) Subject: Fix for the issue of input param showing the complete key path to the user X-Git-Tag: release/sun~49^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=50b4d1decb9bdd68b057f9d209ddb8466621024e;p=vnfsdk%2Frefrepo.git Fix for the issue of input param showing the complete key path to the user GSO-77 Change-Id: I704a47f8f0d7e20d672cf469a4dd939b310e06bf Signed-off-by: Seshu-Kumar-M --- diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html index 917cff16..d76182ce 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html @@ -40,7 +40,12 @@ if (jsonData != null) { $("body").empty(); for(var key in jsonData.inputParameters){ - $("body").append('
'); + var name = key; + if(name.includes('.')) + { + name = key.substring(key.lastInexOf('.')+1,key.length); + } + $("body").append('
'); } }