From 56c18fe00eb1b3bb958c9135a47f17350a82113e Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" Date: Fri, 20 Aug 2010 00:34:23 +0000 Subject: DOMUI: Add the basic HTML for the 'Edit Address' AutoFill overlay. BUG=49094 TEST=none Review URL: http://codereview.chromium.org/3157027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56785 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/resources/options/autofill_options.js | 3 +++ 1 file changed, 3 insertions(+) (limited to '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 3563703..40d28c1 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)); -- cgit v1.1