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, [{
|
idprefix, [{
|
||||||
type: "extendable",
|
type: "extendable",
|
||||||
id: "attribute",
|
id: "attribute",
|
||||||
objects: function() {
|
objects: adapter.getPrioList()
|
||||||
adapter.getPrioList();
|
|
||||||
}
|
|
||||||
}], function () {
|
}], function () {
|
||||||
var list = $("input[id^=" + idprefix + "attribute_]"),
|
var list = $("input[id^=" + idprefix + "attribute_]"),
|
||||||
prios = [];
|
prios = [];
|
||||||
|
|
|
@ -450,14 +450,9 @@ var modalDialogHelper = modalDialogHelper || {};
|
||||||
};
|
};
|
||||||
|
|
||||||
modalDialogHelper.createModalChangeDialog = function(title, idprefix, objects, callback) {
|
modalDialogHelper.createModalChangeDialog = function(title, idprefix, objects, callback) {
|
||||||
var table = modalDialogHelper.modalDivTemplate(title, "Change", idprefix, callback),
|
var table = modalDialogHelper.modalDivTemplate(title, "Change", idprefix, callback);
|
||||||
os;
|
console.log(objects);
|
||||||
if (_.isFunction(objects)) {
|
_.each(objects, function(o) {
|
||||||
os = objects();
|
|
||||||
} else {
|
|
||||||
os = objects;
|
|
||||||
}
|
|
||||||
_.each(os, function(o) {
|
|
||||||
insertModalRow(table, idprefix, o);
|
insertModalRow(table, idprefix, o);
|
||||||
});
|
});
|
||||||
$("#" + idprefix + "modal").modal('show');
|
$("#" + idprefix + "modal").modal('show');
|
||||||
|
|
Loading…
Reference in New Issue