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")
|
.filter(":selected")
|
||||||
.text();
|
.text();
|
||||||
adapter.useNodeCollection(nodeCollection);
|
adapter.useNodeCollection(nodeCollection);
|
||||||
}
|
},
|
||||||
|
"Select"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
self.rebindAll(self.newNodeRebinds());
|
self.rebindAll(self.newNodeRebinds());
|
||||||
|
@ -497,7 +498,8 @@ function EventDispatcherControls(list, nodeShaper, edgeShaper, start, dispatcher
|
||||||
.filter(":selected")
|
.filter(":selected")
|
||||||
.text();
|
.text();
|
||||||
adapter.useEdgeCollection(edgeCollection);
|
adapter.useEdgeCollection(edgeCollection);
|
||||||
}
|
},
|
||||||
|
"Select"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
self.rebindAll(self.connectNodesRebinds());
|
self.rebindAll(self.connectNodesRebinds());
|
||||||
|
|
|
@ -444,8 +444,8 @@ var modalDialogHelper = modalDialogHelper || {};
|
||||||
return content.bodyTable;
|
return content.bodyTable;
|
||||||
};
|
};
|
||||||
|
|
||||||
modalDialogHelper.createModalDialog = function(title, idprefix, objects, callback) {
|
modalDialogHelper.createModalDialog = function(title, idprefix, objects, callback, buttonTitle) {
|
||||||
var table = modalDialogHelper.modalDivTemplate(title, null, idprefix, callback);
|
var table = modalDialogHelper.modalDivTemplate(title, buttonTitle, idprefix, callback);
|
||||||
_.each(objects, function(o) {
|
_.each(objects, function(o) {
|
||||||
insertModalRow(table, idprefix, o);
|
insertModalRow(table, idprefix, o);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue