Commit 961fc005 authored by Jérome Perrin's avatar Jérome Perrin

fieldset: do not edit ID twice if it is also defined in the node properties.

We like to define id of a note to set the initial ID
parent a31423ab
......@@ -97,7 +97,9 @@
//console.log(property_name, property_definition);
// XXX some properties are not editable
// XXX should not be defined here
if (property_name !== 'coordinate' && property_name !== '_class') {
if (property_name !== 'coordinate' &&
property_name !== '_class' &&
property_name !== 'id') {
addField(property_name, property_definition, value);
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment