Commit 17024d35 authored by Jérome Perrin's avatar Jérome Perrin

GUI: Honor configuration for ID if set in the class definition

parent db92068d
......@@ -91,7 +91,7 @@
gadget.props.fieldset_element.style["border-width"] = "1px";
}
if (node_id) {
addField('id', {'type': 'string'}, node_id);
addField('id', options.property_definition.properties.id || {'type': 'string'}, node_id);
}
Object.keys(options.property_definition.properties
).forEach(function (property_name) {
......
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