Index: chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js |
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js |
index 6ba5811ebd63b929a22f67c95dd2c8cd535355b4..001cc0dd2c4fe74f5985d4161e0b3d8c9543f83e 100644 |
--- a/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js |
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js |
@@ -75,8 +75,8 @@ |
* @private |
*/ |
onAddAddressTap_: function(e) { |
+ // TODO(hcarmona): implement adding an address. |
e.preventDefault(); |
- this.$.addressEditDialog.open({}); |
}, |
/** |
@@ -88,9 +88,9 @@ |
/** @type {chrome.autofillPrivate.AddressEntry} */ |
var address = menu.itemData; |
- if (address.metadata.isLocal) |
- this.$.addressEditDialog.open(address); |
- else |
+ // TODO(hcarmona): implement editing a local address. |
+ |
+ if (!address.metadata.isLocal) |
window.open(this.i18n('manageAddressesUrl')); |
menu.closeMenu(); |