From 2ae5eb60212c97c58a5ad97661a6750f1921a0e1 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 28 Mar 2016 19:16:19 +0200 Subject: [PATCH] Another changes --- pandora_console/include/javascript/map/MapController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/javascript/map/MapController.js b/pandora_console/include/javascript/map/MapController.js index 3f3ab3078e..d0ff44090c 100644 --- a/pandora_console/include/javascript/map/MapController.js +++ b/pandora_console/include/javascript/map/MapController.js @@ -1447,7 +1447,7 @@ MapController.prototype.init_events = function(principalObject) { self.remove_resize_square(); - d3.select(this).classed("dragging", true); + self.select_node(d['graph_id'], "select"); } /** @@ -1476,7 +1476,7 @@ MapController.prototype.init_events = function(principalObject) { * Return void */ function dragended(d) { - d3.select(this).classed("dragging", false); + self.select_node(d['graph_id'], "off"); if ($("#node_" + d['graph_id']).hasClass("tooltipstered")) { $("#node_" + d['graph_id']).tooltipster('destroy');