From a2b5491a279c6d7492e389666447a566e25a9bdf Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Thu, 14 Apr 2016 09:55:24 +0200 Subject: [PATCH] New maps in progress... (Added groupmodule-module arrows and agent-modulegroup arrows) --- .../include/javascript/map/NetworkmapController.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pandora_console/include/javascript/map/NetworkmapController.js b/pandora_console/include/javascript/map/NetworkmapController.js index 6005831fc1..1ab35066e3 100644 --- a/pandora_console/include/javascript/map/NetworkmapController.js +++ b/pandora_console/include/javascript/map/NetworkmapController.js @@ -71,11 +71,11 @@ NetworkmapController.prototype.init_map = function() { }); } - var arrows_AM = self.get_arrow_AM(edge['to'], edge['from']); - if (arrows_AM !== null) { - $.each(arrows_AM, function(i, arrow_AM) { - if (!self.exists_arrow(clean_arrows, arrow_AM)) { - clean_arrows.push(arrow_AM); + var arrows_GM = self.get_arrow_GM(edge['to'], edge['from']); + if (arrows_GM !== null) { + $.each(arrows_GM, function(i, arrow_GM) { + if (!self.exists_arrow(clean_arrows, arrow_GM)) { + clean_arrows.push(arrow_GM); } }); } @@ -414,9 +414,9 @@ NetworkmapController.prototype.get_arrow_AA = function(graph_id, id_to, id_from) /** * Function get_arrow_AM * Return array (arrow) -* This function returns an AM arrow +* This function returns an GM arrow */ -NetworkmapController.prototype.get_arrow_AM = function(id_to, id_from) { +NetworkmapController.prototype.get_arrow_GM = function(id_to, id_from) { var self = this; return null; }