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

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

Issue 3157027: DOMUI: Add the basic HTML for the 'Edit Address' AutoFill overlay. (Closed)
Patch Set: Review fixes 2. Created 10 years, 4 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
« no previous file with comments | « chrome/browser/resources/options/autofill_edit_address_overlay.js ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/autofill_options.js
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js
index 356370347a5b715432faf0b427ec49d9bfda8049..40d28c1576870449843e7d71c79f7bf56bf6cc8b 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -39,6 +39,9 @@ cr.define('options', function() {
$('profileList').onchange = function(event) {
self.updateRemoveButtonState_();
};
+ $('addAddressButton').onclick = function(event) {
+ OptionsPage.showOverlay('autoFillEditAddressOverlay');
+ };
Preferences.getInstance().addEventListener('autofill.enabled',
cr.bind(self.updateButtonState_, self));
« no previous file with comments | « chrome/browser/resources/options/autofill_edit_address_overlay.js ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698