add: elements = gFilterActionList.getElementsByAttribute("enableforpop3","true"); for (i=0;i<elements.length;i++) { element = elements[i];  if (aScope == Components.interfaces.nsMsgSearchScope.offlineMailFilter) element.removeAttribute("disabled"); else element.setAttribute("disabled", "true"); }  
context: function SetUpFilterActionList(aScope){  var element, elements, i;  // disable / enable all elements in the "filteractionlist"  // based on the scope and the "enablefornews" attribute  elements = gFilterActionList.getElementsByAttribute("enablefornews","true");  for (i=0;i<elements.length;i++)   {    element = elements[i];    if (aScope == Components.interfaces.nsMsgSearchScope.newsFilter)      element.removeAttribute("disabled");    else      element.setAttribute("disabled", "true");  }  elements = gFilterActionList.getElementsByAttribute("enablefornews","false");  for (i=0;i<elements.length;i++)   {    element = elements[i];    if (aScope != Components.interfaces.nsMsgSearchScope.newsFilter)      element.removeAttribute("disabled");    else      element.setAttribute("disabled", "true");  }  // ensure that the first checked action is visible in the listbox of actions.  elements = gFilterActionList.getElementsByTagName("checkbox");  for (i=0;i<elements.length;i++)  {    element = elements[i];    if (element.checked)     {      gFilterActionList.ensureElementIsVisible(getListItemForElement(element));      break;    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/58794f9da4c7b9e2e5bb250432a3512182a72029/FilterEditor.js/buggy/mailnews/base/search/resources/content/FilterEditor.js