diff options
author | Luji7 <lu.ji3@zte.com.cn> | 2016-11-03 14:39:11 +0800 |
---|---|---|
committer | Luji7 <lu.ji3@zte.com.cn> | 2016-11-03 14:39:11 +0800 |
commit | fa92c703fe15864a83aa01652a184c1bc8529d8b (patch) | |
tree | 537e7e42b84c692338f7956b9875f08605666e06 /openo-portal | |
parent | 547e59884fc7b8bb275857091b5dd0d5462279c9 (diff) |
Issue-Id: GSO-88 Fix parameter display error
Change-Id: I2b57814a575de2a51a9004c36fe551fb404ac1c5
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'openo-portal')
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html | 2 | ||||
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 2 |
2 files changed, 2 insertions, 2 deletions
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 d33975fd..5d75323f 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/InputData.html @@ -59,7 +59,7 @@ }
}
else{
- var nameObj = {i18nKey:key,showName:key};
+ var nameObj = {name:key,showName:key};
name = showName(nameObj);
}
$("body").append('<div class="mT15 form-group row" style="margin-top:35px;margin-left:25%"><div class="col-sm-6" align="right"><label class="control-label"><span style="font-size:16px;">'+ name + ':</span></label></div><div class="col-sm-6"><input type="text" name="" maxlength="256" style="margin-left:10px;width:250px;" data-toggle="tooltip" data-placement="top" title="'+ paramValue + '" value="'+ paramValue + '" readonly disabled/></div></div>');
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 c78d3c2b..ee9ae621 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 @@ -483,7 +483,7 @@ function generateComponent(inputPara) { } function showName(inputPara) { - var name = $.i18n.prop(inputPara.i18nKey) + var name = $.i18n.prop(inputPara.name) if(name.length === 0 || name.slice(0, 1) === '[') { name = inputPara.showName; } |