SQLite: Preselect index type after adding a column
This commit is contained in:
parent
7dd454f0b4
commit
3a8191b7ac
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue