rem: if (value == '') return autoCompleteRender(id); if (autoCompleteContexts[id]['queries'][value]) return autoCompleteRender(id); 
add: if (value == '' || autoCompleteContexts[id]['queries'][value]) return autoCompleteRender(id); 
context: function autoCompleteTrigger(id) {    // Query for current value if known to be a directory (due to trailing slash or from    // previous query results) else query for dirname(value); skip repeated queries.    var orig = document.getElementById(id).value, value = orig.replace(/([\\\/].*)[\\\/]$/, '$1');    if (value == '') return autoCompleteRender(id);    if (autoCompleteContexts[id]['queries'][value]) return autoCompleteRender(id);    if (value == orig && !autoCompleteContexts[id]['results'][value]) {	value = value.replace(/([\\\/])[^\\\/]+$/, '$1').replace(/([\\\/].*)[\\\/]$/, '$1');;	if (autoCompleteContexts[id]['queries'][value]) return autoCompleteRender(id);    }    var responseCallback = function(response) {	if (response.readyState != 4) {	    return;	}	autoCompleteContexts[id]['queries'][value] = 1;	results = response.responseText.split("\n");	for (i = 0; i < results.length; i++) {	    autoCompleteContexts[id]['results'][results[i]] = 1;	}	autoCompleteRender(id);    }    var url = autoCompleteContexts[id]['url'].replace(/__VALUE__/, escape(value));    SendHttpGet(autoCompleteContexts[id]['connection'], url, responseCallback);}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/e8500290086939a6af06356c22e65f086cf7cb43/AutoComplete.js/buggy/gallery2/lib/javascript/AutoComplete.js