rem: setPageData(pageData, "server", "hostname", incomingServerName.value); 
add:   if (!gHideIncoming) { setPageData(pageData, "server", "hostname", incomingServerName.value); } 
context: function serverPageValidate() {  var smtpserver = document.getElementById("smtphostname");  var incomingServerName = document.getElementById("incomingServer");  var newsServerName = document.getElementById("newsServer");  if ((gOnMailServersPage &&       ((hostnameIsIllegal(incomingServerName.value)) ||        (hostnameIsIllegal(smtpserver.value)))) ||      (gOnNewsServerPage && hostnameIsIllegal(newsServerName.value))) {    var alertText = gPrefsBundle.getString("enterValidHostname");    window.alert(alertText);    return false;  }  /* if this is for a server that doesn't require a username,    * check if the account exists.    * for other types, we check after the user provides the username (see aw-login.js)   */  var pageData = parent.GetPageData();  var serverType = parent.getCurrentServerType(pageData);  var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + serverType].getService(Components.interfaces.nsIMsgProtocolInfo);  if (!protocolinfo.requiresUsername) {    var userName = parent.getCurrentUserName(pageData);    var hostName;    if (gOnMailServersPage)      hostName = incomingServerName.value;    else if (gOnNewsServerPage)      hostName = newsServerName.value;    if (parent.AccountExists(userName,hostName,serverType)) {      alertText = gPrefsBundle.getString("accountExists");      window.alert(alertText);      return false;    }  }  setPageData(pageData, "server", "servertype", serverType);  if (gOnMailServersPage) {    setPageData(pageData, "server", "hostname", incomingServerName.value);    setPageData(pageData, "server", "smtphostname", smtpserver.value);  }  else if (gOnNewsServerPage) {    setPageData(pageData, "newsserver", "hostname", newsServerName.value);  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f3ea24c55eda9f477808e1dc971a0f71fbac0ec0/aw-server.js/clean/mailnews/base/prefs/resources/content/aw-server.js