1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Editor: Fix focusing foreign key search in select

This commit is contained in:
Jakub Vrana
2019-12-12 15:37:30 +01:00
parent 5da5b75536
commit 2f7f0df09f
2 changed files with 3 additions and 1 deletions

View File

@@ -444,7 +444,8 @@ function selectSearch(name) {
var divs = qsa('div', el);
for (var i=0; i < divs.length; i++) {
var div = divs[i];
if (isTag(div.firstChild, 'select') && selectValue(div.firstChild) == name) {
var el = qs('[name$="[col]"]', div);
if (el && selectValue(el) == name) {
break;
}
}