summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-13 05:31:02 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-13 05:31:02 +0000
commit05a0695920ee32bd7afe9124a4565e3469a12a79 (patch)
tree3ed870060faf45ee4a56d7ac3564682380114161 /misc
parentc0542917e599cb617e0bd73bd700da4a5d52f404 (diff)
downloadbrdo-05a0695920ee32bd7afe9124a4565e3469a12a79.tar.gz
brdo-05a0695920ee32bd7afe9124a4565e3469a12a79.tar.bz2
- Patch #172755 by c960657, klausi: autocomplete triggered when switching fields, 'undefined' written to field.
Diffstat (limited to 'misc')
-rw-r--r--misc/autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/autocomplete.js b/misc/autocomplete.js
index 506b9cf18..ffbbe1f00 100644
--- a/misc/autocomplete.js
+++ b/misc/autocomplete.js
@@ -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));