diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-04-19 08:58:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@open-o.org> | 2017-04-19 08:58:56 +0000 |
commit | 1aa5ad3a5020d9a5222662a3088ce78c58284f48 (patch) | |
tree | 80ddee441b6b1797209d4ed4edf20861110e4605 | |
parent | aba151e0a874c2f9caa344da528646525e21c064 (diff) | |
parent | c42bd171e111f4cbb122b21a6075c4d4e638c170 (diff) |
Merge "Show parameter tab when no sdncontroller"
-rw-r--r-- | lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js index e5b7c8cc..f2ff5483 100644 --- a/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js +++ b/lifecyclemgr/src/main/webapp/lifecyclemgr/js/DataService.js @@ -393,7 +393,7 @@ function generateParamComponent(nodeType, identify, param, strReadOnly) { var name = getParamLabel(nodeType, param);
var id = getParamId(identify,param);
var component = '';
- if (param.type === 'string') {
+ if (param.type != 'enum') {
component = '<div class="mT15 form-group row-content" style="margin-left:0px;">'
+ '<label class="col-sm-6 control-label labelstyle">'
+ '<span>' + name + '</span>' + generateRequiredLabel(param)
@@ -411,7 +411,7 @@ function generateParamComponent(nodeType, identify, param, strReadOnly) { component = '<div class="form-group row-content" style="margin-left:0px;margin-bottom:5px;">'
+ '<label class="col-sm-6 control-label labelstyle">'
+ '<span>' + name + '</span>'
- + '<span class="required">*</span>'
+ + generateRequiredLabel(param)
+ '</label>'
+ '<div class="col-sm-6">'
+ '<select class="form-control" style ="padding-top: 0px;padding-bottom: 0px;"'
|