| Index: chrome/browser/resources/options/autofill_options_list.js
|
| diff --git a/chrome/browser/resources/options/autofill_options_list.js b/chrome/browser/resources/options/autofill_options_list.js
|
| index c6591ed84e02cf60b8a400542b29029d7b3f812c..89ed6bbbe45c8e9f7fad92665e7a119cc77c480b 100644
|
| --- a/chrome/browser/resources/options/autofill_options_list.js
|
| +++ b/chrome/browser/resources/options/autofill_options_list.js
|
| @@ -318,7 +318,6 @@ cr.define('options.autofillOptions', function() {
|
| DeletableItemList.prototype.decorate.call(this);
|
|
|
| this.addEventListener('blur', this.onBlur_);
|
| - this.addEventListener('dblclick', this.onDoubleClick_);
|
| },
|
|
|
| /**
|
| @@ -328,28 +327,6 @@ cr.define('options.autofillOptions', function() {
|
| onBlur_: function() {
|
| this.selectionModel.unselectAll();
|
| },
|
| -
|
| - /**
|
| - * When a list item is double clicked, open the corresponding profile for
|
| - * editing.
|
| - * @param {Event} event The double-click event.
|
| - * @private
|
| - */
|
| - onDoubleClick_: function(event) {
|
| - if (this.disabled)
|
| - return;
|
| -
|
| - var target = this.getListItemAncestor(event.target);
|
| - if (target)
|
| - this.activateItemAtIndex_(this.getIndexOfListItem(target));
|
| - },
|
| -
|
| - /**
|
| - * Opens the item at |index| for editing. Subclasses should override.
|
| - * @param {Number} index The item index.
|
| - */
|
| - activateItemAtIndex_: function(index) {
|
| - },
|
| };
|
|
|
| /**
|
| @@ -367,7 +344,7 @@ cr.define('options.autofillOptions', function() {
|
| },
|
|
|
| /** @inheritDoc */
|
| - activateItemAtIndex_: function(index) {
|
| + activateItemAtIndex: function(index) {
|
| AutofillOptions.loadAddressEditor(this.dataModel.item(index)[0]);
|
| },
|
|
|
| @@ -397,7 +374,7 @@ cr.define('options.autofillOptions', function() {
|
| },
|
|
|
| /** @inheritDoc */
|
| - activateItemAtIndex_: function(index) {
|
| + activateItemAtIndex: function(index) {
|
| AutofillOptions.loadCreditCardEditor(this.dataModel.item(index)[0]);
|
| },
|
|
|
|
|