Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: chrome/browser/resources/options/autofill_options_list.js

Issue 243013004: i18n address editing in chrome://settings/autofillEditAddress. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix phone validation. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/autofill_options_list.js
diff --git a/chrome/browser/resources/options/autofill_options_list.js b/chrome/browser/resources/options/autofill_options_list.js
index 540bf56e6f9105a02b74e4f5551cce21d06cd04a..8fd7fdb6a09726eb4b28bac4e5e4e242a06850c2 100644
--- a/chrome/browser/resources/options/autofill_options_list.js
+++ b/chrome/browser/resources/options/autofill_options_list.js
@@ -489,7 +489,8 @@ cr.define('options.autofillOptions', function() {
var info = new Array();
info[0] = index;
info[1] = numbers;
- info[2] = $('country').value;
+ info[2] = document.querySelector(
+ '#autofill-edit-address-overlay [field=country]').value;
this.validationRequests_++;
chrome.send('validatePhoneNumbers', info);
},

Powered by Google App Engine
This is Rietveld 408576698