Commit 05a06959 authored by Dries's avatar Dries

- 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
......@@ -115,7 +115,7 @@ Drupal.jsAC.prototype.selectDown = function () {
if (this.selected && this.selected.nextSibling) {
this.highlight(this.selected.nextSibling);
}
else {
else if (this.popup) {
var lis = $('li', this.popup);
if (lis.size() > 0) {
this.highlight(lis.get(0));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment