diff --git a/mailnews/base/prefs/resources/content/AccountManager.js b/mailnews/base/prefs/resources/content/AccountManager.js index 3177acbb18b..48ae1d0aa41 100644 --- a/mailnews/base/prefs/resources/content/AccountManager.js +++ b/mailnews/base/prefs/resources/content/AccountManager.js @@ -167,7 +167,7 @@ function onLoad() { setDefaultButton = document.getElementById("setDefaultButton"); sortAccountList(accounttree); - setTimeout(selectServer, 0, selectedServer.serverURI, selectPage); + setTimeout(selectServer, 0, selectedServer ? selectedServer.serverURI : "", selectPage); } function sortAccountList(accounttree)