fix for #31038 - move the smtpService initialization to just before invalid accounts get loaded

r=sspitzer
a=jar


git-svn-id: svn://10.0.0.236/trunk@62457 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com 2000-03-09 05:16:53 +00:00
parent 508cc90c1c
commit ed33d6dad3

View File

@ -94,16 +94,16 @@ function onLoad() {
wizardManager.URL_PagePostfix = ".xul";
wizardManager.SetHandlers(null, null, onFinish, null, null, null);
checkForInvalidAccounts();
var pageData = GetPageData();
updateMap(pageData, gWizardMap);
// load up the SMTP service for later
if (!smtpService) {
smtpService =
Components.classes["component://netscape/messengercompose/smtp"].getService(Components.interfaces.nsISmtpService);
}
checkForInvalidAccounts();
var pageData = GetPageData();
updateMap(pageData, gWizardMap);
// skip the first page if we have an account
if (currentAccount) {
// skip past first pane