From 5d53de11a700d4eb4cd30dee3d4f0c266502c7eb Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 17 May 2016 11:16:21 +0200 Subject: [PATCH] Fixed the resize action in the new networkmap. --- pandora_console/include/javascript/map/MapController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/javascript/map/MapController.js b/pandora_console/include/javascript/map/MapController.js index b7cbbe15ca..c9665340b4 100644 --- a/pandora_console/include/javascript/map/MapController.js +++ b/pandora_console/include/javascript/map/MapController.js @@ -1116,7 +1116,7 @@ MapController.prototype.paint_resize_square = function(item, wait) { d3.xml("images/maps/square_selection.svg", "application/xml", function(xml) { var nodes = xml .evaluate("//*[@id='square_selection']/*", xml, null, XPathResult.ANY_TYPE, null); - var result = self.get_nodes_map().iterateNext(); + var result = nodes.iterateNext(); resize_square .append("g").attr("class", "square_selection")