From 50a556df9f5170147f759f8b0d5e2d0cf4eead3a Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Fri, 24 May 2002 00:13:40 +0000 Subject: [PATCH] fix for 70540;compose window should bring up account wizard when there are no identities;r=bhuvan;sr=sspitzer --- .../prefs/resources/content/accountUtils.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/mailnews/base/prefs/resources/content/accountUtils.js b/mailnews/base/prefs/resources/content/accountUtils.js index cc34058d20c7..42d9a1e974c8 100644 --- a/mailnews/base/prefs/resources/content/accountUtils.js +++ b/mailnews/base/prefs/resources/content/accountUtils.js @@ -39,7 +39,7 @@ var returnmycall=false; var accountManagerContractID = "@mozilla.org/messenger/account-manager;1"; var messengerMigratorContractID = "@mozilla.org/messenger/migrator;1"; -var zeroIdCount = false; //If there is only one account and has no IDs +var gAnyValidIdentity = false; //If there are no valid identities for any account // returns the first account with an invalid server or identity function getInvalidAccounts(accounts) @@ -65,14 +65,14 @@ function getInvalidAccounts(accounts) for (var j=0; j