Commit 2649a7c6 authored by Jérome Perrin's avatar Jérome Perrin

GUI: correctly handle 0 as default value

parent 795e0b24
......@@ -81,7 +81,7 @@
.push(function () {
Object.keys(property_list).forEach(function (i) {
property = property_list[i];
value = property._default || "";
value = property._default === undefined ? "" : property._default;
addField(property, 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