Skip to content
Snippets Groups Projects
Commit 05a06959 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #172755 by c960657, klausi: autocomplete triggered when switching...

- Patch #172755 by c960657, klausi: autocomplete triggered when switching fields, 'undefined' written to field.
parent c0542917
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -115,7 +115,7 @@ Drupal.jsAC.prototype.selectDown = function () { ...@@ -115,7 +115,7 @@ Drupal.jsAC.prototype.selectDown = function () {
if (this.selected && this.selected.nextSibling) { if (this.selected && this.selected.nextSibling) {
this.highlight(this.selected.nextSibling); this.highlight(this.selected.nextSibling);
} }
else { else if (this.popup) {
var lis = $('li', this.popup); var lis = $('li', this.popup);
if (lis.size() > 0) { if (lis.size() > 0) {
this.highlight(lis.get(0)); this.highlight(lis.get(0));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment