mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 901887 - [RIL][Contacts] Saving to SIM doesn't work. r=allstars.chh
This commit is contained in:
parent
955967b5ff
commit
ba96f2e263
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user