mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 817989 - [CONTACTS] Is not possible to save a contact with a very long phone number. r=gal
This commit is contained in:
parent
4be2be38bd
commit
cf581439fa
@ -194,7 +194,8 @@ this.PhoneNumber = (function (dataBase) {
|
||||
},
|
||||
// +19497262896
|
||||
get internationalNumber() {
|
||||
var value = this.internationalFormat.replace(NON_DIALABLE_CHARS, "");
|
||||
var value = this.internationalFormat ? this.internationalFormat.replace(NON_DIALABLE_CHARS, "")
|
||||
: null;
|
||||
Object.defineProperty(this, "nationalNumber", { value: value, enumerable: true });
|
||||
return value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user