rem: if (sQuery.length < this.minQueryLength) { 
add: if (sQuery && (sQuery.length < this.minQueryLength) || (!sQuery && this.minQueryLength > 0)) { 
context: YAHOO.widget.AutoComplete.prototype._sendQuery = function(sQuery) {    // Delimiter has been enabled    var aDelimChar = (this.delimChar) ? this.delimChar : null;    if(aDelimChar) {        // Loop through all possible delimiters and find the latest one        // A " " may be a false positive if they are defined as delimiters AND        // are used to separate delimited queries        var nDelimIndex = -1;        for(var i = aDelimChar.length-1; i >= 0; i--) {            var nNewIndex = sQuery.lastIndexOf(aDelimChar[i]);            if(nNewIndex > nDelimIndex) {                nDelimIndex = nNewIndex;            }        }        // If we think the last delimiter is a space (" "), make sure it is NOT        // a false positive by also checking the char directly before it        if(aDelimChar[i] == " ") {            for (var j = aDelimChar.length-1; j >= 0; j--) {                if(sQuery[nDelimIndex - 1] == aDelimChar[j]) {                    nDelimIndex--;                    break;                }            }        }        // A delimiter has been found so extract the latest query        if (nDelimIndex > -1) {            var nQueryStart = nDelimIndex + 1;            // Trim any white space from the beginning...            while(sQuery.charAt(nQueryStart) == " ") {                nQueryStart += 1;            }            // ...and save the rest of the string for later            this._sSavedQuery = sQuery.substring(0,nQueryStart);            // Here is the query itself            sQuery = sQuery.substr(nQueryStart);        }        else if(sQuery.indexOf(this._sSavedQuery) < 0){            this._sSavedQuery = null;        }    }    // Don't search queries that are too short    if (sQuery.length < this.minQueryLength) {        if (this._nDelayID != -1) {            clearTimeout(this._nDelayID);        }        this._clearList();        return;    }    sQuery = encodeURIComponent(sQuery);    this._nDelayID = -1;    // Reset timeout ID because request has been made    this.dataRequestEvent.fire(this, sQuery);    this.dataSource.getResults(this._populateList, sQuery, this);};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/autocomplete.js/buggy/www/resources/yui/autocomplete/autocomplete.js