rem: var logFilters = document.getElementById("logFilters"); var curFilterList = currentFilterList(); logFilters.checked = curFilterList.loggingEnabled;  
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();   }   var logFilters = document.getElementById("logFilters");   var curFilterList = currentFilterList();   logFilters.checked = curFilterList.loggingEnabled;   updateButtons();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/34e5c6a5ac96df343160601fab5d7d61ed1c9deb/FilterListDialog.js/clean/mailnews/base/search/resources/content/FilterListDialog.js