rem: document.getElementById("textInput").value = ""; 
add: textInput = document.getElementById("textInput"); if (lastClicked == textInput.value) { textInput.value = ""; } lastClicked = ""; 
context: function loadDirectory() {  try {    if (sfile.isDirectory()) {      clearTree();      try {        getDirectoryContents(document.getElementById("directoryList"), sfile.directoryEntries);      } catch(ex) { dump("getDirectoryContents() failed\n"); }      addToHistory(sfile.path);      document.getElementById("textInput").value = "";    }  } catch(ex) { dump("isDirectory failed\n"); }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9c8bc35bf278828dd8ec0487bca3a95583da76fc/filepicker.js/buggy/xpfe/components/filepicker/res/content/filepicker.js