hide synapse editing card on topic view too

This commit is contained in:
Devin Howard 2013-02-14 21:08:58 -05:00
parent cd3f02d676
commit dee531e3ef

View file

@ -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);