create synapse if you click away from the synapse title form
This commit is contained in:
parent
e4d53162a7
commit
83551e317e
1 changed files with 5 additions and 1 deletions
|
@ -1047,7 +1047,11 @@ Metamaps.JIT = {
|
|||
Metamaps.TopicCard.hideCard();
|
||||
Metamaps.SynapseCard.hideCard();
|
||||
Metamaps.Create.newTopic.hide();
|
||||
Metamaps.Create.newSynapse.hide();
|
||||
if ($('#new_synapse').is(":visible")) {
|
||||
// Hide the new_synapse form and create the synapse!
|
||||
Metamaps.Synapse.createSynapseLocally();
|
||||
}//if
|
||||
|
||||
$('.rightclickmenu').remove();
|
||||
// reset the draw synapse positions to false
|
||||
Metamaps.Mouse.synapseStartCoordinates = [];
|
||||
|
|
Loading…
Reference in a new issue