Don't select FULLTEXT index by default (regression from Adminer 3.7.1)
This commit is contained in:
parent
5f9069cc1b
commit
4285d73bbc
|
@ -509,7 +509,9 @@ function indexesAddColumn(field, prefix) {
|
||||||
};
|
};
|
||||||
var select = field.form[field.name.replace(/\].*/, '][type]')];
|
var select = field.form[field.name.replace(/\].*/, '][type]')];
|
||||||
if (!select.selectedIndex) {
|
if (!select.selectedIndex) {
|
||||||
select.selectedIndex = select.options.length - 1;
|
while (selectValue(select) != "INDEX" && select.selectedIndex < select.options.length) {
|
||||||
|
select.selectedIndex++;
|
||||||
|
}
|
||||||
select.onchange();
|
select.onchange();
|
||||||
}
|
}
|
||||||
var column = cloneNode(field.parentNode);
|
var column = cloneNode(field.parentNode);
|
||||||
|
|
Loading…
Reference in a new issue