зеркало из https://github.com/mozilla/gecko-dev.git
Bug 901887 - [RIL][Contacts] Saving to SIM doesn't work. r=allstars.chh
This commit is contained in:
Родитель
7ca1f19b01
Коммит
e24465fc4b
|
@ -12591,10 +12591,11 @@ let ICCContactHelper = {
|
|||
return;
|
||||
}
|
||||
|
||||
// Check if contact has additional properties (email, anr, ...etc) need
|
||||
// to be updated as well.
|
||||
// Check if contact has additional properties (email, anr, ...etc) that
|
||||
// need to be updated as well.
|
||||
if ((field === USIM_PBR_EMAIL && !contact.email) ||
|
||||
(field === USIM_PBR_ANR0 && !contact.anr[0])) {
|
||||
(field === USIM_PBR_ANR0 && (!Array.isArray(contact.anr) ||
|
||||
!contact.anr[0]))) {
|
||||
updateField();
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче