rem: var sDelimChar = (this.delimChar) ? this.delimChar[0] : null; 
add: var sDelimChar = (this.delimChar) ? (this.delimChar[0] || this.delimChar) : null; 
context: YAHOO.widget.AutoComplete.prototype._updateValue = function(oItem) {    var oTextbox = this._oTextbox;    var sDelimChar = (this.delimChar) ? this.delimChar[0] : null;    var sSavedQuery = this._sSavedQuery;    var sResultKey = oItem._sResultKey;    oTextbox.focus();    // First clear text field    oTextbox.value = "";    // Grab data to put into text field    if(sDelimChar) {        if(sSavedQuery) {            oTextbox.value = sSavedQuery;        }        oTextbox.value += sResultKey + sDelimChar;        if(sDelimChar != " ") {            oTextbox.value += " ";        }    }    else { oTextbox.value = sResultKey; }    // scroll to bottom of textarea if necessary    if(oTextbox.type == "textarea") {        oTextbox.scrollTop = oTextbox.scrollHeight;    }    // move cursor to end    var end = oTextbox.value.length;    this._selectText(oTextbox,end,end);    this._oCurItem = oItem;};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/autocomplete-debug.js/buggy/www/resources/yui/autocomplete/autocomplete-debug.js