mirror of https://gitee.com/bigwinds/arangodb
gv create edge bugfix
This commit is contained in:
parent
6e7d77d17e
commit
19c76a3e1d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue