diff --git a/pandora_console/include/ajax/map.ajax.php b/pandora_console/include/ajax/map.ajax.php index 4bdec3848e..a04248f2d7 100644 --- a/pandora_console/include/ajax/map.ajax.php +++ b/pandora_console/include/ajax/map.ajax.php @@ -37,7 +37,6 @@ if (is_ajax ()) { $status = agents_get_status($node); - $status = 1; foreach ($nodes as $node) { switch ($status) { diff --git a/pandora_console/include/javascript/map/NetworkmapController.js b/pandora_console/include/javascript/map/NetworkmapController.js index 6f4a49e5b5..046e7d97d7 100644 --- a/pandora_console/include/javascript/map/NetworkmapController.js +++ b/pandora_console/include/javascript/map/NetworkmapController.js @@ -1587,7 +1587,7 @@ NetworkmapController.prototype.refresh_nodes = function() { var params = {}; params["refresh_nodes_open"] = 1; params["id_map"] = self._id; - params["page"] = "include/ajax/map.ajax2"; + params["page"] = "include/ajax/map.ajax"; var agent_nodes = $.grep(nodes, function(node) { if (node['type'] == 0) {