rem: gTypeAheadFindBuffer = ""; 
add: setFindMode(FIND_NORMAL); setFoundLink(null); 
context: function delayedCloseFindBar(){  var findField = document.getElementById("find-field");  var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]                     .getService(Components.interfaces.nsIWindowWatcher);  if (window == ww.activeWindow && document.commandDispatcher.focusedElement &&      document.commandDispatcher.focusedElement.parentNode.parentNode == findField) {    window.content.focus();  }  var findToolbar = document.getElementById("FindToolbar");  findToolbar.hidden = true;  gTypeAheadFindBuffer = "";  changeSelectionColor(false);  if (gQuickFindTimeout) {    clearTimeout(gQuickFindTimeout);    gQuickFindTimeout = null;      } }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d86737608541e2376c25955aca1e4d08cd8e29cc/findBar.js/clean/toolkit/components/typeaheadfind/content/findBar.js