aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-10-24 15:10:33 +0800
committerLuji7 <lu.ji3@zte.com.cn>2016-10-24 15:10:33 +0800
commita48605e7984d9488f1bfa4b333bc4fd011914902 (patch)
treedb7bad392e2a65b81858bda45b2f2000d5c15207
parent5d37809ac90642ae2824aa43810828cee622357f (diff)
Issue#GSO-30 Show empty string while no default value defination in response body.
Change-Id: If02b8ffbdddbd63d5eccae0f31ac2aa655318a68 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
index 37cb05f3..a9eba6f2 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
@@ -142,7 +142,7 @@ function translateToTemplateParameters(inputs) {
defaultValue: inputs[i].defaultValue,
required: inputs[i].required,
id: 'parameter_' + i,
- value: inputs[i].defaultValue
+ value: inputs[i].defaultValue || ''
};
}
return {changed: false, parameters: inputParameters};