Commit ca3b5d5a authored by Sven Franck's avatar Sven Franck

app: allow _id on records instead of id

parent 8e8e305d
......@@ -3447,7 +3447,7 @@
// add record id for radio/check/linking
// TODO: develop a clean way to use _id and id. this is bad!
if (label) {
new_item.id = record["id"] || items[i]["id"] || null;
new_item.id = record["id"] || record["_id"] || items[i]["id"] || null;
}
// loop scheme sections
......
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