1
0
Fork 0

Fixed a bug where the group-by list of the graphviewer has not been stored locally

This commit is contained in:
Michael Hackstein 2014-01-31 18:17:25 +01:00
parent 0b0d4c5dd7
commit 2a289bf28d
2 changed files with 4 additions and 11 deletions

View File

@ -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 = [];

View File

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