1
0
Fork 0

gv create edge bugfix

This commit is contained in:
hkernbach 2016-10-04 16:52:44 +02:00
parent 6e7d77d17e
commit 19c76a3e1d
1 changed files with 3 additions and 1 deletions

View File

@ -938,6 +938,8 @@
var self = this;
var from = self.contextState._from;
var to = self.contextState._to;
console.log(from);
console.log(to);
var collectionName;
if ($('.modal-body #new-edge-collection-attr').val() === '') {
@ -1958,7 +1960,7 @@
// validate edgeDefinitions
var foundEdgeDefinitions = self.getEdgeDefinitionCollections(fromCollection, toCollection);
self.addEdgeModal(foundEdgeDefinitions, self.contextState._from, self.contextState._to);
self.clearOldContextMenu(true);
self.clearOldContextMenu(false);
} else {
if (!self.dragging) {
if (self.contextState.createEdge === true) {