mirror of https://gitee.com/bigwinds/arangodb
Changed capture of select collection dialog in graph viewer for multi collection graphs
This commit is contained in:
parent
4cb1cdd977
commit
d94de0af94
|
@ -431,7 +431,8 @@ function EventDispatcherControls(list, nodeShaper, edgeShaper, start, dispatcher
|
|||
.filter(":selected")
|
||||
.text();
|
||||
adapter.useNodeCollection(nodeCollection);
|
||||
}
|
||||
},
|
||||
"Select"
|
||||
);
|
||||
}
|
||||
self.rebindAll(self.newNodeRebinds());
|
||||
|
@ -497,7 +498,8 @@ function EventDispatcherControls(list, nodeShaper, edgeShaper, start, dispatcher
|
|||
.filter(":selected")
|
||||
.text();
|
||||
adapter.useEdgeCollection(edgeCollection);
|
||||
}
|
||||
},
|
||||
"Select"
|
||||
);
|
||||
}
|
||||
self.rebindAll(self.connectNodesRebinds());
|
||||
|
|
|
@ -444,8 +444,8 @@ var modalDialogHelper = modalDialogHelper || {};
|
|||
return content.bodyTable;
|
||||
};
|
||||
|
||||
modalDialogHelper.createModalDialog = function(title, idprefix, objects, callback) {
|
||||
var table = modalDialogHelper.modalDivTemplate(title, null, idprefix, callback);
|
||||
modalDialogHelper.createModalDialog = function(title, idprefix, objects, callback, buttonTitle) {
|
||||
var table = modalDialogHelper.modalDivTemplate(title, buttonTitle, idprefix, callback);
|
||||
_.each(objects, function(o) {
|
||||
insertModalRow(table, idprefix, o);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue