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)
committerLuji <lu.ji3@zte.com.cn>
Mon, 24 Oct 2016 08:27:45 +0000 (08:27 +0000)
Change-Id: If02b8ffbdddbd63d5eccae0f31ac2aa655318a68
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
(cherry picked from commit a48605e7984d9488f1bfa4b333bc4fd011914902)

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};