mirror of https://gitee.com/bigwinds/arangodb
frontend removed cap contraint
This commit is contained in:
parent
b3e418aff7
commit
95f42778d0
|
@ -528,7 +528,7 @@
|
|||
//index functions
|
||||
resetIndexForms: function () {
|
||||
$('#indexHeader input').val('').prop("checked", false);
|
||||
$('#newIndexType').val('Cap').prop('selected',true);
|
||||
$('#newIndexType').val('Geo').prop('selected',true);
|
||||
this.selectIndexType();
|
||||
},
|
||||
|
||||
|
@ -542,15 +542,6 @@
|
|||
var sparse;
|
||||
|
||||
switch (indexType) {
|
||||
case 'Cap':
|
||||
var size = parseInt($('#newCapSize').val(), 10) || 0;
|
||||
var byteSize = parseInt($('#newCapByteSize').val(), 10) || 0;
|
||||
postParameter = {
|
||||
type: 'cap',
|
||||
size: size,
|
||||
byteSize: byteSize
|
||||
};
|
||||
break;
|
||||
case 'Geo':
|
||||
//HANDLE ARRAY building
|
||||
fields = $('#newGeoFields').val();
|
||||
|
|
Loading…
Reference in New Issue