Commit 24967bf7 authored by Jérome Perrin's avatar Jérome Perrin

bugfix: keep the name when loading

parent 51c073be
...@@ -238,9 +238,11 @@ ...@@ -238,9 +238,11 @@
}); });
}; };
updateDefaultData(data, property_list); updateDefaultData(data, property_list);
that.updateElementData(element.id, { var update_dict = {data: data}
data: data if (element.name) {
}); update_dict["name"] = element.name;
}
that.updateElementData(element.id, update_dict);
}; };
priv.super_start = that.start; priv.super_start = that.start;
......
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