| Index: chrome/browser/resources/options/autofill_edit_address_overlay.js
|
| diff --git a/chrome/browser/resources/options/autofill_edit_address_overlay.js b/chrome/browser/resources/options/autofill_edit_address_overlay.js
|
| index f81bb94a4efa64eaab9d192659f72785104d255e..b5aec2d1561806fb319b62af252e921744b258dd 100644
|
| --- a/chrome/browser/resources/options/autofill_edit_address_overlay.js
|
| +++ b/chrome/browser/resources/options/autofill_edit_address_overlay.js
|
| @@ -234,17 +234,17 @@ cr.define('options', function() {
|
| var inputFields = this.getInputFields_();
|
| var address = [
|
| this.guid_,
|
| - inputFields.fullName || [],
|
| - inputFields.companyName || '',
|
| - inputFields.addrLines || '',
|
| - inputFields.dependentLocality || '',
|
| - inputFields.city || '',
|
| - inputFields.state || '',
|
| - inputFields.postalCode || '',
|
| - inputFields.sortingCode || '',
|
| - inputFields.country || '',
|
| - inputFields.phone || [],
|
| - inputFields.email || [],
|
| + inputFields['fullName'] || [],
|
| + inputFields['companyName'] || '',
|
| + inputFields['addrLines'] || '',
|
| + inputFields['dependentLocality'] || '',
|
| + inputFields['city'] || '',
|
| + inputFields['state'] || '',
|
| + inputFields['postalCode'] || '',
|
| + inputFields['sortingCode'] || '',
|
| + inputFields['country'] || '',
|
| + inputFields['phone'] || [],
|
| + inputFields['email'] || [],
|
| this.languageCode_,
|
| ];
|
| chrome.send('setAddress', address);
|
| @@ -436,7 +436,8 @@ cr.define('options', function() {
|
| AutofillEditAddressOverlay.setValidatedPhoneNumbers = function(numbers) {
|
| var instance = AutofillEditAddressOverlay.getInstance();
|
| var phoneList = instance.pageDiv.querySelector('[field=phone]');
|
| - instance.setMultiValueList_(phoneList, numbers);
|
| + instance.setMultiValueList_(assertInstanceof(phoneList, cr.ui.List),
|
| + numbers);
|
| phoneList.didReceiveValidationResult();
|
| };
|
|
|
|
|