зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
a94260b14b
Коммит
ba543e2c3b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче