mirror of https://gitee.com/bigwinds/arangodb
graph vertex collections not restricted to 10 anymore (#2987)
This commit is contained in:
parent
e06c85886e
commit
286db19df2
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue