Change-Id: I1c1651da7857eab8ceffb7e24238314bde1c776a
Signed-off-by: lombardofr <lombardo@everyup.it>
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 += '<div id="drag_' + n + '" class="node ui-draggable"' +
'type-name="' + node + '" draggable="true" ondragstart="nodeDragStart(event)">' +
'<div class="icon" style="background-color:' + nodes_properties[node].color + '"></div>' +
"shape": "square",
"color": "#e3bfad",
"size": 15,
- "name": "intCP"
+ "name": "intCP",
+ "draggable": false
},
"ns_vl": {
"shape": "triangle",