From 6c35f5e64a67a58ee36585e159ee135689576762 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Wed, 24 Feb 2016 16:58:09 +0100 Subject: [PATCH] New maps in progress... (fixed js error) --- pandora_console/include/javascript/map/MapController.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/javascript/map/MapController.js b/pandora_console/include/javascript/map/MapController.js index 57e773a9b5..77fd35a11b 100644 --- a/pandora_console/include/javascript/map/MapController.js +++ b/pandora_console/include/javascript/map/MapController.js @@ -205,9 +205,8 @@ MapController.prototype.init_events = function(principalObject) { self = this; $(this._target + " svg *, " + this._target + " svg") - .on("mousedown", {map: this}, this.click_event); - - + .off("mousedown", {map: this}, this.click_event); + d3.selectAll(".node") .on("mouseover", function(d) { d3.select("#node_" + d['graph_id'])