Skip to content

Commit

Permalink
Editor: Fix focusing foreign key search in select
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Dec 12, 2019
1 parent 5da5b75 commit 2f7f0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adminer/static/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
1 change: 1 addition & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 2f7f0df

Please sign in to comment.