From dee531e3ef50a7865cdd83c6eccfa9472a44eff5 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 14 Feb 2013 21:08:58 -0500 Subject: [PATCH] hide synapse editing card on topic view too --- app/assets/javascripts/Jit/graphsettings.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/Jit/graphsettings.js b/app/assets/javascripts/Jit/graphsettings.js index e53d5b8b..74cf5105 100644 --- a/app/assets/javascripts/Jit/graphsettings.js +++ b/app/assets/javascripts/Jit/graphsettings.js @@ -122,6 +122,10 @@ function graphSettings(type) { t.Events.onClick = function(node, eventInfo, e) { //this is handled mostly differently than in arranged/chaotic if (e.target.id != "infovis-canvas") return false; + + //hide synapse editing dialog + $('#edit_synapse').hide(); + //clicking on an edge, a node, or clicking on blank part of canvas? if (node.nodeFrom) { selectEdgeOnClickHandler(node, e);