Commit 907840a9 authored by Jérome Perrin's avatar Jérome Perrin

fixup! Graph editor: remove node_id from node_id_to_dom_element_id when node...

fixup! Graph editor: remove node_id from node_id_to_dom_element_id when node is removed (from Ioannis)
parent 8acb02ec
......@@ -313,7 +313,7 @@
);
$(gadget.props.element).find("#" + element_id).remove();
delete gadget.props.data.graph.node[node_id];
delete gadget.props.data.node_id_to_dom_element_id[node_id];
delete gadget.props.node_id_to_dom_element_id[node_id];
$.each(gadget.props.data.graph.edge, function (k, v) {
if (node_id === v.source || node_id === v.destination) {
......
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