/trunk/src/org/tela_botanica/client/AutoCompleteAsyncTextBox.java |
---|
203,13 → 203,14 |
{ |
items.clear(); |
/* if (getFromCache(text)!=null) { |
if (getFromCache(text)!=null) { |
items=getFromCache(text); |
displayList(); |
} |
else {*/ |
else { |
this.doFetchURL(text); |
//} |
} |
} |
} |
222,7 → 223,7 |
if(this.items.size() > 0) |
{ |
//addToCache(this.getText(),(Vector) items.clone()); |
addToCache(this.getText(),(Vector) items.clone()); |
choices.clear(); |