hide synapse editing dialog on click in graphsettings.js
This commit is contained in:
parent
a080fa2ec4
commit
12d5e17e6c
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@ function graphSettings(type) {
|
||||||
//Add also a click handler to nodes
|
//Add also a click handler to nodes
|
||||||
onClick: function (node, eventInfo, e) {
|
onClick: function (node, eventInfo, e) {
|
||||||
if (e.target.id != "infovis-canvas") return false;
|
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?
|
//clicking on a node, or clicking on blank part of canvas?
|
||||||
if (node.nodeFrom) {
|
if (node.nodeFrom) {
|
||||||
selectEdgeOnClickHandler(node, e);
|
selectEdgeOnClickHandler(node, e);
|
||||||
|
|
Loading…
Reference in a new issue