1
0
Fork 0

Changed capture of select collection dialog in graph viewer for multi collection graphs

This commit is contained in:
Michael Hackstein 2014-06-30 15:28:12 +02:00
parent 4cb1cdd977
commit d94de0af94
2 changed files with 6 additions and 4 deletions

View File

@ -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());

View File

@ -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);
});