mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
SQLite: Preselect index type after adding a column
This commit is contained in:
@@ -503,7 +503,7 @@ function indexesAddColumn(field, prefix) {
|
||||
};
|
||||
var select = field.form[field.name.replace(/\].*/, '][type]')];
|
||||
if (!select.selectedIndex) {
|
||||
select.selectedIndex = 3;
|
||||
select.selectedIndex = select.options.length - 1;
|
||||
select.onchange();
|
||||
}
|
||||
var column = cloneNode(field.parentNode);
|
||||
|
Reference in New Issue
Block a user