зеркало из https://github.com/mozilla/pjs.git
Fix for bug # 130403. When teh new card dialog is opened from selected addresses dialog,
there is no selectedab. Make personal addressbook selectedab, if there is no selected addressbook. r=varada, sr=bienvenu
This commit is contained in:
Родитель
867dab46bf
Коммит
90d68610db
|
@ -790,6 +790,9 @@ function GetSelectedAddressBookDirID(abListItem)
|
|||
if (!selectedAB && abDirEntries && abDirEntries.localName == "menulist" && abDirEntries.selectedItem)
|
||||
selectedAB = abDirEntries.selectedItem.getAttribute("id");
|
||||
|
||||
// if we do not have a selected ab still, use personal addressbook
|
||||
if (!selectedAB)
|
||||
selectedAB = kPersonalAddressbookURI;
|
||||
return selectedAB;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче