rem: setPageData(pageData, "accounttype", "mailaccount", true); 
add: setPageData(pageData, "accounttype", "mailaccount", true); 
context: function AccountDataToPageData(accountData, pageData){    if (!accountData) {        dump("null account data! clearing..\n");        // handle null accountData as if it were an empty object        // so that we clear-out any old pagedata from a        // previous accountdata. The trick is that        // with an empty object, accountData.identity.slot is undefined,        // so this will clear out the prefill data in setPageData                accountData = new Object;        accountData.incomingServer = new Object;        accountData.identity = new Object;        accountData.smtp = new Object;    }        var server = accountData.incomingServer;    if (server.type == undefined) {        // clear out the old server data        setPageData(pageData, "accounttype", "mailaccount", undefined);        setPageData(pageData, "accounttype", "newsaccount", undefined);        setPageData(pageData, "server", "servertype", undefined);        setPageData(pageData, "server", "hostname", undefined);            } else {                if (server.type == "nntp") {            setPageData(pageData, "accounttype", "newsaccount", true);            setPageData(pageData, "newsserver", "hostname", server.hostName);        }                else {	    setPageData(pageData, "accounttype", "mailaccount", true);            setPageData(pageData, "server", "servertype", server.type);            setPageData(pageData, "server", "hostname", server.hostName);        }    }        setPageData(pageData, "login", "username", server.username);    setPageData(pageData, "login", "password", server.password);    setPageData(pageData, "login", "rememberPassword", server.rememberPassword);    setPageData(pageData, "accname", "prettyName", server.prettyName);        var identity;        if (accountData.identity) {        dump("This is an accountdata\n");        identity = accountData.identity;    }    else if (accountData.identities) {        identity = accountData.identities.QueryElementAt(0, Components.interfaces.nsIMsgIdentity);        dump("this is an account, id= " + identity + "\n");    }     setPageData(pageData, "identity", "email", identity.email);    setPageData(pageData, "identity", "fullName", identity.fullName);    var smtp;        if (accountData.smtp) {        smtp = accountData.smtp;        setPageData(pageData, "server", "smtphostname",                    smtp.hostname);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/969122b6efbcefef535b23341a86703ce7f4d1b1/AccountWizard.js/clean/mailnews/base/prefs/resources/content/AccountWizard.js