rem: runFiltersFolderPicker.selectedIndex = 0; SetFolderPicker(runFiltersFolderPicker.selectedItem.getAttribute("id"),"runFiltersFolder");   if (rebuild) { gFilterTree.view.selection.clearSelection(); gFilterTree.builder.rebuild(); } 
add: gRunFiltersFolderPicker.selectedIndex = 0; SetFolderPicker(gRunFiltersFolderPicker.selectedItem.getAttribute("id"),"runFiltersFolder"); 
context: function setServer(uri, rebuild){   var resource = rdf.GetResource(uri);   var msgFolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder);   //Calling getFilterList will detect any errors in rules.dat, backup the file, and alert the user   //we need to do this because gFilterTree.setAttribute will cause rdf to call getFilterList and there is    //no way to pass msgWindow in that case.    if (msgFolder)     msgFolder.getFilterList(gFilterListMsgWindow);   gFilterTree.setAttribute("ref", uri);   // root the folder picker to this server   runFiltersFolderPicker.setAttribute("ref", uri);   // select the first folder., for POP3 and IMAP, the INBOX   runFiltersFolderPicker.selectedIndex = 0;   SetFolderPicker(runFiltersFolderPicker.selectedItem.getAttribute("id"),"runFiltersFolder");   // rebuild tree, since we changed the uri, and clear selection   if (rebuild) {     gFilterTree.view.selection.clearSelection();     gFilterTree.builder.rebuild();   }   updateButtons();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/03f8d406f8d7b80d4de01dffbecfac3f6e2854e0/FilterListDialog.js/buggy/mailnews/base/search/resources/content/FilterListDialog.js