mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug where the group-by list of the graphviewer has not been stored locally
This commit is contained in:
parent
0b0d4c5dd7
commit
2a289bf28d
|
@ -135,9 +135,7 @@ function ArangoAdapterControls(list, adapter) {
|
|||
idprefix, [{
|
||||
type: "extendable",
|
||||
id: "attribute",
|
||||
objects: function() {
|
||||
adapter.getPrioList();
|
||||
}
|
||||
objects: adapter.getPrioList()
|
||||
}], function () {
|
||||
var list = $("input[id^=" + idprefix + "attribute_]"),
|
||||
prios = [];
|
||||
|
|
|
@ -450,14 +450,9 @@ var modalDialogHelper = modalDialogHelper || {};
|
|||
};
|
||||
|
||||
modalDialogHelper.createModalChangeDialog = function(title, idprefix, objects, callback) {
|
||||
var table = modalDialogHelper.modalDivTemplate(title, "Change", idprefix, callback),
|
||||
os;
|
||||
if (_.isFunction(objects)) {
|
||||
os = objects();
|
||||
} else {
|
||||
os = objects;
|
||||
}
|
||||
_.each(os, function(o) {
|
||||
var table = modalDialogHelper.modalDivTemplate(title, "Change", idprefix, callback);
|
||||
console.log(objects);
|
||||
_.each(objects, function(o) {
|
||||
insertModalRow(table, idprefix, o);
|
||||
});
|
||||
$("#" + idprefix + "modal").modal('show');
|
||||
|
|
Loading…
Reference in New Issue