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;
}
}

View file

@ -1,5 +1,6 @@
Adminer 4.7.6-dev:
MySQL: Always set foreign_key_checks in export
Editor: Fix focusing foreign key search in select
Adminer 4.7.5 (released 2019-11-13):
Add id="" to cells with failed inline edit (bug #708)