1
0
Fork 0

graph vertex collections not restricted to 10 anymore (#2987)

This commit is contained in:
Heiko 2017-08-10 22:13:45 +02:00 committed by Frank Celler
parent e06c85886e
commit 286db19df2
3 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,10 @@
devel
-----
* ui: graph vertex collections not restricted to 10 anymore
* fixed docs for issue #2968
* fixed issue #2835: UI detection of JWT token in case of server restart or upgrade
* upgrade jemalloc version to 5.0.1

View File

@ -924,7 +924,7 @@
true,
false,
false,
10,
null,
collList.sort(sorter)
)
);
@ -938,7 +938,7 @@
true,
false,
false,
10,
null,
collList.sort(sorter)
)
);
@ -956,7 +956,7 @@
false,
false,
false,
10,
null,
collList.sort(sorter)
)
);
@ -1035,15 +1035,15 @@
tags: collList,
showSearchBox: false,
minimumResultsForSearch: -1,
width: '336px',
maximumSelectionSize: 10
width: '336px'
// maximumSelectionSize: 10
});
$('#toCollections' + this.counter).select2({
tags: collList,
showSearchBox: false,
minimumResultsForSearch: -1,
width: '336px',
maximumSelectionSize: 10
width: '336px'
// maximumSelectionSize: 10
});
window.modalView.undelegateEvents();
window.modalView.delegateEvents(this.events);

View File

@ -375,13 +375,19 @@
self.modalBindValidation(row);
if (row.type === self.tables.SELECT2) {
// handle select2
$('#' + row.id).select2({
var options = {
tags: row.tags || [],
showSearchBox: false,
minimumResultsForSearch: -1,
width: '336px',
maximumSelectionSize: row.maxEntrySize || 8
});
width: '336px'
};
if (row.maxEntrySize) {
options.maximumSelectionSize = row.maxEntrySize;
}
$('#' + row.id).select2(options);
}
});