Fixed issue in networkmap
This commit is contained in:
parent
50357c6b83
commit
03b5cbdb62
|
@ -114,7 +114,7 @@ function get_relations(node_param) {
|
||||||
var links_id_db = [];
|
var links_id_db = [];
|
||||||
|
|
||||||
jQuery.each(graph.links, function (i, link_each) {
|
jQuery.each(graph.links, function (i, link_each) {
|
||||||
if (node_param.id == link_each.source.id || node_param.id == link_each.target.id) {vo
|
if (node_param.id == link_each.source.id || node_param.id == link_each.target.id) {
|
||||||
if(links_id_db.length > 0){
|
if(links_id_db.length > 0){
|
||||||
if(links_id_db.indexOf(link_each.id_db) == -1){
|
if(links_id_db.indexOf(link_each.id_db) == -1){
|
||||||
return_links.push(link_each);
|
return_links.push(link_each);
|
||||||
|
|
Loading…
Reference in New Issue