X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=static%2Fsrc%2Fdescriptorhandler%2Fcomposer.js;h=aef680fdde49946a46222efc1d6b1cfba5591275;hb=refs%2Fchanges%2F70%2F9870%2F1;hp=b3d849e7d49850a3b8a916397df5ec31264d3eb6;hpb=36e3ddd4e43444ab84a45ec619a89009969ba7c0;p=osm%2FLW-UI.git diff --git a/static/src/descriptorhandler/composer.js b/static/src/descriptorhandler/composer.js index b3d849e..aef680f 100644 --- a/static/src/descriptorhandler/composer.js +++ b/static/src/descriptorhandler/composer.js @@ -18,7 +18,7 @@ var graph_editor = new TCD3.ModelGraphEditor(); var type_view = { - "nsd": ["vnf", "ns_vl"], + "nsd": ["vnf", "ns_vl", "ns_cp"], "vnfd": ["vdu", "cp", "vnf_vl", "int_cp"] }; @@ -201,6 +201,9 @@ function refreshElementInfo(event, element) { case 'int_cp': intcpDetails(element.info.osm); break; + case 'ns_cp': + nscpDetails(element.info.osm); + break; case 'cp': cpDetails(element.info.osm); break; @@ -263,7 +266,7 @@ function updatePalette(view) { var nodes_properties = osm_gui_properties['nodes']; for (var n in nodes) { var node = nodes[n]; - if (nodes_properties[node]) { + if (nodes_properties[node] && (nodes_properties[node].draggable != false)) { palette_template += '