From: KIRAN KASHALKAR Date: Thu, 12 Jan 2017 01:26:59 +0000 (-0500) Subject: Revert "RIFT-15245: Vnfd-id edit in VNF composer behaves strangely" X-Git-Tag: v1.1.0~21 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2d500b28cb1de263137d562547e492c67971e273;p=osm%2FUI.git Revert "RIFT-15245: Vnfd-id edit in VNF composer behaves strangely" This reverts commit 3ea4a6fecbcd4265ad9da9c06720e9d879bfbf57. Signed-off-by: KIRAN KASHALKAR --- diff --git a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js index d04dddfb5..4ee4345b7 100644 --- a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js +++ b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js @@ -178,8 +178,8 @@ export default function EditDescriptorModelProperties(props) { let catalogs = cds.getTransientCatalogs(); const name = path.join('.'); + const isEditable = true; const isGuid = Property.isGuid(property); - const isEditable = isGuid; const onChange = onFormFieldValueChanged.bind(container); const isEnumeration = Property.isEnumeration(property); const isLeafRef = Property.isLeafRef(property); diff --git a/skyquake/plugins/composer/src/src/styles/EditDescriptorModelProperties.scss b/skyquake/plugins/composer/src/src/styles/EditDescriptorModelProperties.scss index fcca9efda..48ce9497c 100644 --- a/skyquake/plugins/composer/src/src/styles/EditDescriptorModelProperties.scss +++ b/skyquake/plugins/composer/src/src/styles/EditDescriptorModelProperties.scss @@ -305,8 +305,5 @@ font-size: 10px; font-family: monospace; } - input[readonly='readonly'] { - background-color: $readonly-background-color; - } } diff --git a/skyquake/plugins/composer/src/src/styles/_ColorGroups.scss b/skyquake/plugins/composer/src/src/styles/_ColorGroups.scss index fe3ded475..b0ea3fb7e 100644 --- a/skyquake/plugins/composer/src/src/styles/_ColorGroups.scss +++ b/skyquake/plugins/composer/src/src/styles/_ColorGroups.scss @@ -28,6 +28,4 @@ $vnffgd-secondary-color: #2aa198; $common-primary-color: black; $common-secondary-color: white; $common-background-color: white; -$common-foreground-color: black; - -$readonly-background-color: #ffe; \ No newline at end of file +$common-foreground-color: black; \ No newline at end of file