diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 00:34:23 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 00:34:23 +0000 |
commit | 56c18fe00eb1b3bb958c9135a47f17350a82113e (patch) | |
tree | ddc7fb0edcb201695fb1cbf840b6862d1047b541 /chrome/browser/resources/options/autofill_options.js | |
parent | 031b0f96c775bd8e31dcaf0b15ee0b18b9d2090e (diff) | |
download | chromium_src-56c18fe00eb1b3bb958c9135a47f17350a82113e.zip chromium_src-56c18fe00eb1b3bb958c9135a47f17350a82113e.tar.gz chromium_src-56c18fe00eb1b3bb958c9135a47f17350a82113e.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/resources/options/autofill_options.js')
-rw-r--r-- | chrome/browser/resources/options/autofill_options.js | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |