Bug 819250 - PhoneNumber.js overwrites national number. r=bent

This commit is contained in:
Gregor Wagner 2012-12-07 10:47:44 -08:00
parent 0aed3efb27
commit ded989a2a9

View File

@ -210,7 +210,7 @@ this.PhoneNumber = (function (dataBase) {
get internationalNumber() {
var value = this.internationalFormat ? this.internationalFormat.replace(NON_DIALABLE_CHARS, "")
: null;
Object.defineProperty(this, "nationalNumber", { value: value, enumerable: true });
Object.defineProperty(this, "internationalNumber", { value: value, enumerable: true });
return value;
}
};