Issue#GSO-30 Show empty string while no default value defination in response body.
authorLuji7 <lu.ji3@zte.com.cn>
Mon, 24 Oct 2016 07:10:33 +0000 (15:10 +0800)
committerLuji7 <lu.ji3@zte.com.cn>
Mon, 24 Oct 2016 07:10:33 +0000 (15:10 +0800)
Change-Id: If02b8ffbdddbd63d5eccae0f31ac2aa655318a68
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js

index 37cb05f..a9eba6f 100644 (file)
@@ -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};