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

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

Issue 6930052: Revert 84320 - Autofill DOMUI Prefs should work with i18n phone numbers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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_edit_address_overlay.js
===================================================================
--- chrome/browser/resources/options/autofill_edit_address_overlay.js (revision 84345)
+++ chrome/browser/resources/options/autofill_edit_address_overlay.js (working copy)
@@ -59,11 +59,11 @@
list.autoExpands = true;
list = $('phone-list');
- options.autofillOptions.AutofillPhoneValuesList.decorate(list);
+ options.autofillOptions.AutofillValuesList.decorate(list);
list.autoExpands = true;
list = $('fax-list');
- options.autofillOptions.AutofillFaxValuesList.decorate(list);
+ options.autofillOptions.AutofillValuesList.decorate(list);
list.autoExpands = true;
list = $('email-list');
@@ -299,16 +299,6 @@
$('autofill-address-title').textContent = title;
};
- AutofillEditAddressOverlay.setValidatedPhoneNumbers = function(numbers) {
- AutofillEditAddressOverlay.getInstance().setMultiValueList_('phone-list',
- numbers);
- };
-
- AutofillEditAddressOverlay.setValidatedFaxNumbers = function(numbers) {
- AutofillEditAddressOverlay.getInstance().setMultiValueList_('fax-list',
- numbers);
- };
-
// Export
return {
AutofillEditAddressOverlay: AutofillEditAddressOverlay
« no previous file with comments | « chrome/browser/autofill/phone_number_i18n_unittest.cc ('k') | chrome/browser/resources/options/autofill_options_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698