Index: misc/autocomplete.js =================================================================== RCS file: /cvs/drupal/drupal/misc/autocomplete.js,v retrieving revision 1.7 diff -u -r1.7 autocomplete.js --- misc/autocomplete.js 22 Jan 2006 17:37:41 -0000 1.7 +++ misc/autocomplete.js 12 Mar 2006 20:35:16 -0000 @@ -198,7 +198,7 @@ var ul = document.createElement('ul'); var ac = this; if (matches.length > 0) { - for (i in matches) { + for (i=0; ivalue pairs var matches = string.length > 0 ? string.split('||') : []; - for (i in matches) { + for (i=0; i 0 ? matches[i].split('|') : []; // Decode textfield pipes back to plain-text matches[i][0] = eregReplace('|', '|', matches[i][0]);