rem: var accountData=[]; 
add: var accountData= currentAccountData;  if (!accountData) accountData = new Object;  
context: function onFinish() {    if( !wizardManager.wizardMap[wizardManager.currentPageTag].finish )        return;    var pageData = parent.wizardManager.WSM.PageData;    dump(parent.wizardManager.WSM);    var accountData=[];    PageDataToAccountData(pageData, accountData);    // we might be simply finishing another account    if (!currentAccount)        currentAccount = createAccount(accountData);    // transfer all attributes from the accountdata    finishAccount(currentAccount, accountData);        verifyLocalFoldersAccount(currentAccount);    // hack hack - save the prefs file NOW in case we crash    try {        var prefs = Components.classes["component://netscape/preferences"].getService(Components.interfaces.nsIPref);        prefs.SavePrefFile();    } catch (ex) {        dump("Error saving prefs!\n");		dump("ex = " + ex + "\n");    }    window.close();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/083fedbb1c0649b946181fe320292ea8edca8974/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js