rem: if (isMailAccount && isMailAccount.value) { setNextPage("identitypage","serverpage"); setNextPage("serverpage","loginpage"); setNextPage("loginpage","accnamepage"); setNextPage("accnamepage","done"); } else { setNextPage("identitypage","newsserver"); setNextPage("newsserver","accnamepage"); setNextPage("accnamepage","done"); 
add: if (isMailAccount && isMailAccount.value) wizardPanels = new Array("serverpage", "loginpage", "accnamepage"); else wizardPanels = new Array("newsserver", "accnamepage");   skipArray  = skipPanels.split(","); var skipHash = new Array(); for (i = 0; i < skipArray.length; i++) skipHash[skipArray[i]] = skipArray[i];   i = 0; while (i < wizardPanels.length) { if (wizardPanels[i] in skipHash) wizardPanels.splice(i, 1); else i++; 
context: function identityPageValidate(){  var name = document.getElementById("fullName").value;  if (!name) {    var alertText = gPrefsBundle.getString("enterName");    window.alert(alertText);    return false;  }  if (!validateEmail()) return false;  var pageData = parent.GetPageData();  setPageData(pageData, "identity", "fullName", name);  setNextPage("accounttype","identitypage");  // If we need to skip wizardpanels, set the wizard to jump to the  // summary page i.e., last page. Otherwise, set the flow based  // on type of account (mail or news) user is creating.  if (gCurrentAccountData && gCurrentAccountData.wizardSkipPanels) {    setNextPage("identitypage","done");  }  else {    var isMailAccount = pageData.accounttype.mailaccount;    if (isMailAccount && isMailAccount.value) {      setNextPage("identitypage","serverpage");      setNextPage("serverpage","loginpage");      setNextPage("loginpage","accnamepage");      setNextPage("accnamepage","done");    }     else {      setNextPage("identitypage","newsserver");      setNextPage("newsserver","accnamepage");      setNextPage("accnamepage","done");    }  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f3ea24c55eda9f477808e1dc971a0f71fbac0ec0/aw-identity.js/buggy/mailnews/base/prefs/resources/content/aw-identity.js