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
|
//index functions
|
||||||
resetIndexForms: function () {
|
resetIndexForms: function () {
|
||||||
$('#indexHeader input').val('').prop("checked", false);
|
$('#indexHeader input').val('').prop("checked", false);
|
||||||
$('#newIndexType').val('Cap').prop('selected',true);
|
$('#newIndexType').val('Geo').prop('selected',true);
|
||||||
this.selectIndexType();
|
this.selectIndexType();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -542,15 +542,6 @@
|
||||||
var sparse;
|
var sparse;
|
||||||
|
|
||||||
switch (indexType) {
|
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':
|
case 'Geo':
|
||||||
//HANDLE ARRAY building
|
//HANDLE ARRAY building
|
||||||
fields = $('#newGeoFields').val();
|
fields = $('#newGeoFields').val();
|
||||||
|
|
Loading…
Reference in New Issue