fixed synapse created on arranged maps

This commit is contained in:
Connor Turland 2012-12-07 15:06:00 -05:00
parent 696d094118
commit 4ab7fe76ca

View file

@ -14,7 +14,11 @@ if (map1 != null) {
mymap = rg; mymap = rg;
} }
if (mymap == fd || mymap == rg) { else if (map != null) {
mymap = map;
}
if (mymap == fd || mymap == rg || mymap = map) {
temp1 = mymap.graph.getNode(<%= @synapse.item1.id %>); temp1 = mymap.graph.getNode(<%= @synapse.item1.id %>);
if (temp1 == null) { if (temp1 == null) {
newnode = <%= @synapse.item1.self_as_json.html_safe %>; newnode = <%= @synapse.item1.self_as_json.html_safe %>;