From 12d5e17e6c798dd43cf4123b45fa69f3d8fd0092 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Wed, 30 Jan 2013 18:58:27 -0500 Subject: [PATCH] hide synapse editing dialog on click in graphsettings.js --- 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 830e759a..703e87f1 100644 --- a/app/assets/javascripts/Jit/graphsettings.js +++ b/app/assets/javascripts/Jit/graphsettings.js @@ -73,6 +73,10 @@ function graphSettings(type) { //Add also a click handler to nodes onClick: function (node, eventInfo, e) { if (e.target.id != "infovis-canvas") return false; + + //hide synapse editing dialog + $('#edit_synapse').hide(); + //clicking on a node, or clicking on blank part of canvas? if (node.nodeFrom) { selectEdgeOnClickHandler(node, e);