add:   gThreadTree.setAttribute("ref", gThreadTree.getAttribute("ref")); 
context: function onSearch(event){    gSearchSession.clearScopes();    // tell the search session what the new scope is    gSearchSession.addScopeTerm(GetScopeForFolder(gCurrentFolder),                                gCurrentFolder);        saveSearchTerms(gSearchSession.searchTerms, gSearchSession);    gSearchSession.search(msgWindow);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e49db01aaae1b86f3c49437f5f1d61cb8ae82513/SearchDialog.js/buggy/mailnews/base/search/resources/content/SearchDialog.js