rem:  if (gMailView.searchTerms.Count() == 1) document.getElementById("less0").setAttribute("disabled", "true"); 
context: function mailViewOnLoad(){  initializeSearchWidgets();  initializeMailViewOverrides();  dialog = {};  if ("arguments" in window && window.arguments[0])   {    var args = window.arguments[0];    if ("mailView" in args)       gMailView = window.arguments[0].mailView;     if ("onOkCallback" in args)      dialog.okCallback =  window.arguments[0].onOkCallback;  }  dialog.OKButton = document.documentElement.getButton("accept");  dialog.nameField = document.getElementById("name");  dialog.nameField.focus();  setSearchScope(nsMsgSearchScope.offlineMail);    if (gMailView)  {    dialog.nameField.value = gMailView.mailViewName;    initializeSearchRows(nsMsgSearchScope.offlineMail, gMailView.searchTerms);    if (gMailView.searchTerms.Count() == 1)      document.getElementById("less0").setAttribute("disabled", "true");  }  else    onMore(null, 0);   doEnabling();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/970b2de485ee0d74e18a3ed40554ab6616bb291b/mailViewSetup.js/buggy/mailnews/extensions/mailviews/resources/content/mailViewSetup.js