Bug 1142705 - Contacts sidebar doesn't remember the last selected address book after
Bug 170270 checked in. r=mkmelin, a=rkent
--- a/mail/components/addrbook/content/abCommon.js
+++ b/mail/components/addrbook/content/abCommon.js
@@ -261,18 +261,16 @@ function InitCommonJS()
gDirTree = document.getElementById("dirTree");
abList = document.getElementById("addressbookList");
gAddressBookBundle = document.getElementById("bundle_addressBook");
// Make an entry for "All Address Books".
if (abList) {
abList.insertItemAt(0, gAddressBookBundle.getString("allAddressBooks"),
kAllDirectoryRoot + "?");
- // Select the newly added entry.
- abList.selectedIndex = 0;
}
}
function AbDelete()
{
var types = GetSelectedCardTypes();
if (types == kNothingSelected)
return;