Commit 188a029e authored by Sebastien Robin's avatar Sebastien Robin

gui: continue "stop defining successorList when sending data to manpy"

parent 3d2ce478
......@@ -229,7 +229,7 @@
};
priv.formatForManpy = function(data) {
var manpy_dict = {}, coreObject = [], core_object_dict = {};
var manpy_dict = {}, coreObject = [];
$.each(data['element'], function(idx, element) {
var clone_element = {};
/* clone the element and put content of 'data' at the top level. */
......@@ -242,10 +242,8 @@
clone_element[k] = v;
}
});
clone_element['predecessorList'] = [];
coreObject.push( clone_element );
/* keep a mapping for predecessorList */
core_object_dict[clone_element['id']] = clone_element;
});
manpy_dict['coreObject'] = coreObject;
......
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