summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 14:10:24 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 14:10:24 +0000
commit0b7ca928a0423e59725a94a69f9f45b047f300a6 (patch)
tree5989180c15233e1418d7601f077506a03e90d085 /chrome/browser
parentf5d1ea32ea7081621c692e03ae153f74bde105b3 (diff)
downloadchromium_src-0b7ca928a0423e59725a94a69f9f45b047f300a6.zip
chromium_src-0b7ca928a0423e59725a94a69f9f45b047f300a6.tar.gz
chromium_src-0b7ca928a0423e59725a94a69f9f45b047f300a6.tar.bz2
DOMUI/Autofill: Double-click on the profile list should open the right edit dialog.
BUG=56292 TEST=add some entries in the profile list, select an item and double click, the correct dialog should be opened. Review URL: http://codereview.chromium.org/3382027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60780 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/resources/options/autofill_options.js3
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 f21e330..4b606ec 100644
--- a/chrome/browser/resources/options/autofill_options.js
+++ b/chrome/browser/resources/options/autofill_options.js
@@ -42,6 +42,9 @@ cr.define('options', function() {
$('profileList').onchange = function(event) {
self.updateButtonState_();
};
+ $('profileList').addEventListener('dblclick', function(event) {
+ self.editProfile_();
+ });
$('addAddressButton').onclick = function(event) {
self.showAddAddressOverlay_();
};